NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using tTestdata in flexable DLL Prototype Adapter

How do you pass the tTestData and tTestError stuctures from the DLL prototype adapters to a function in a DLL.
0 Kudos
Message 1 of 2
(3,195 Views)
tTestData and tTestError are currently for use with the CVI adapter only. The function you call must adhere to the standard CVI test prototype. The CVI adapter does support calling DLLs.

You can't add parameters to the CVI standard prototype. Either pass all of your parameters using the flexible dll adapter, or use the CVI adapter with the standard prototype and access the extra data you need via the TestStand API.

The flexible DLL adapter does not currently support tTestData and tTestError because the defined function of these structures requires additional processing beyond just passing the data to and from the function. A future version of TestStand might support the additional processing for these types in the flexible dll adapter.
0 Kudos
Message 2 of 2
(3,195 Views)