NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

array dimension

I am using a type library generated from a function panel (.fp) to fill in the Function Prototypes for the DLL Flexible Prototype Adapter. All is good except that the array dimensions default to 1024 instead of the values in my files.

I see that the example 'TypeLibrary' works. I believe all my files have the dimensions in them (.h, .c, .odl). There is no .tlb file generated though. What am I doing wrong?
0 Kudos
Message 1 of 2
(2,822 Views)
Thefalk,

Being able to import the number of elements in an array depends on the version of TestStand that you are using. If you have TestStand 3.0, it will correctly import the number of elements from your DLL. The type library is included as part of your DLL. You will still need to generate the function panel to have the type library be included as part of the DLL. In the function panel, make sure to define the number of elements in your array.

If you have TestStand 2.0.1, it will ask you for how many elements are in the arrays (with a default value of 1024). The other parameter information will be automatically imported from the type library included with the DLL.

If you have any questions, please let us know.

Regards,
Shannon R.
Applications Engin
eer
National Instruments
0 Kudos
Message 2 of 2
(2,822 Views)