RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 5660 Driver DLL Errors when using Teststand 2010 and LabVIEW Run-Time Engine 2010

Hi Orlando,

 

Thank you for the information.  I am in the process of reproducing this behavior.  I have installed the software you mentioned, and am currently testing.  I will send you an update when I find more information.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 21 of 30
(3,817 Views)

Hi Orlando,

 

I have been talking with my contact in R&D, and it appears this behavior is occurring because of a Flag set for Element2 of your Type.  

 

To fix this Flag, please open the Properties dialog for Element2, and choose Advanced»Flags, as shown in the figure below:
Element2Properties.jpg

 

This will open the Edit Flags dialog.  In the Flags section, check the box for PropFlags_UnstructuredProperty as in the following figure:
EditFlagsDialog.jpg

 

This will allow elements to be added to Element2 instances.

 

Please try changing this setting, and let me know whether it fixes the issue.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 22 of 30
(3,813 Views)

Hi Daniel

The flag that you told me was already checked . By the way i have tryed to unchecked/checked  but the result was the same

The element 2 are still empty after the initialization

 

Thank you

 

Orlando 

0 Kudos
Message 23 of 30
(3,807 Views)

Hi Orlando,

 

Are you able to manually add elements to the instance of Element2? An example would be the Field in Element2 as follows:

AddElements.jpg

 

Also, can you place a break point after the initialization step, and show us the TestStand properties?  I would like to see if your VI is populating the instance of your Type with data. Please take a screenshot of this during debug.

 

Thank you,

Daniel Dorroh
National Instruments
0 Kudos
Message 24 of 30
(3,799 Views)

Hi Daniel

I have try to add manually a fild in cluster element 2 as you show me but when run the sequence and the inizialization VI , This field was deleted and the cluster became empty

 

In attachment the screenshot of the variable contents

 

What did you means with "TestStand" properties?

 

Thanks Orlando

 

 

0 Kudos
Message 25 of 30
(3,787 Views)

Hi Orlando,

 

1.  Can you verify for me what changing the scope of this variable does?  For example, if you re-create the TestStand Type in Locals for example and try to pass values into that location, what happens?  This might be a problem exclusively with the FileGlobals scope.

 

2.  If trying to make variable within Locals still does not work, please try to manually create a collection with two elements with names, Element1 and Element2, and try to pass the VI's output to this variable.  We need to narrow down the source of the problem.

 

The first step above will determine whether scope is the reason for this behavior.  The second step will help determine whether it is the auto-created Type.

 

Thank you,

Daniel Dorroh
National Instruments
0 Kudos
Message 26 of 30
(3,744 Views)

Hi Daniel

Sorry for late in aswer

I have tried the two steps that you wrote me . Unfortunatley the result is the same

The cluster element 2 is not filled in TS after the execution of the initialize as i create the local manually as the local is created using the typedef .

 

Tell me If you have other suggestion or test that i can do

 

Thanks

 

Orlando

 

 

0 Kudos
Message 27 of 30
(3,722 Views)

Hi Orlando,

 

Do you use Element1 or Element2 within the TestStand sequence at all?  If not, we can get around passing the cluster into TestStand.  You will need to utilize the Flatten To String VI when passing values out of your VI, and use the Unflatten From String VI when passing values from TestStand into your VI.  The main idea behind this is to pass the cluster as a flattened string into TestStand, which would prevent TestStand from changing the data within the cluster.  You can safely pass the flattened string between VIs.

 

Please let me know if this work around will work for your application.  If you implement this work around, please let me know if you have any problems with it.  The problem you have been experiencing with passing LabVIEW clusters via TestStand may be a TestStand bug, and R&D is looking into this issue.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 28 of 30
(3,710 Views)

Hi Daniel

I have tried to pass a different data structure to teststand from the initialize function.

I used the flattern to string and then the string isconverted to byteArray ( because there are some char not printable) as showed in the picture below . In this way all is working fine.

NI5600_InitializeDiagram.JPG

 

 

Just another question i have open also a tiket for support regarding the problem on  memory leakage but i did not recieve yet any other answer 

I don't know if you can make a check regarding the status of this request  or if can give me some information on how proceed

 

The reference number is #7374160

 

Thank you very much for the support

 

Best Regards

 

Orlando

 

0 Kudos
Message 29 of 30
(3,700 Views)

Hi Orlando,

 

I'm glad to hear it is working now.  As for service request 7374160, I cannot find any record of it in our system.  If you would like to create a new support request, you may try to do so at ni.com/support.  You will need to use your ni.com account connected to a standard support contract (SSP).

 

I hope that helps!

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 30 of 30
(3,696 Views)