NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a CVI generated DLL, TestStand says it does not contain parameter info. What am I doing wrong..

I am trying to create a DLL that I can use in TestStand. I want the parameter info to be read in when I specify the module. The functions are seen but not the parameters. This is very anoying as I am using two NI products that don't seem to be on the same page...
0 Kudos
Message 1 of 4
(3,573 Views)
A DLL has parameter information only if it includes a type library. CVI does not put a type library in your DLL unless you check the Build>>TargetSettings>>Type Library>>Add type library resource to DLL option. This option requires that you create function panels for your exported functions so that CVI can obtain the information it needs to build the type library.
0 Kudos
Message 2 of 4
(3,573 Views)
Hi
You need to embedd type library info into the dll for TestStand to read parameter info.
The link below will provide you more info

"How to Create a DLL with an Embedded Type Library in LabWindows/CVI so that TestStand can Import Type Information for the DLLs Functions when using the DLL Flexible Prototype Adapter."

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/bcb57b5f7e0d292486256bfa005dad92?OpenDocument

Thanks
Anand
0 Kudos
Message 3 of 4
(3,573 Views)

I reading this link , I belive you need to add the .fp to the DLL source code. I do not know of a way to add a DLL to a .fp

0 Kudos
Message 4 of 4
(3,051 Views)