NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the function prototype parameter to represent a LabVIEW 7.1 error cluster within a LabVIEW generated DLL from TestStand?

I have a LabVIEW 7.1 generated DLL which contains an exported VI with the following prototype
as seen in the LabVIEW DLL builder:

void LaunchSubsystem(char Subsystem[], TD1 *errorOut)

I wish to call this from my TestSTand 3.0 sequence using the C/C++ DLL adapter.

However I cannot see any choice in the Parameter Details Category field for the TD1 *errorOut parameter.
The closest I can get is a 'C Struct', associated with a Property Type of 'Error', passing by Pointer.
This results in this definition in TestStand:

void LaunchSubsystem(char Subsystem[1024], struct Error *TD1)

which is clearly not the same thing and an error is generated when the function is called.

Is there any way of referencing the standard error cluster without breaking the thing up?

Thanks.
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 2
(3,140 Views)
I found a TestStand example which shows this at:

C:\Program Files\National Instruments\TestStand 3.0\Examples\StructPassing\LabVIEW
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 2 of 2
(3,134 Views)