NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing LVRefNum types between labview DLL and Teststand

Hi,

 

I have a DLL written in labview which passes a LVRefNum out (object reference that contains a handle for a hardware session). TestStand won't recognise this data type and no manner of fettling or adding Custom data types to Teststand seems to work.

 

It works in CVI fine by declaring a LVRefNum as an u32 via "MagicCookie" in extcode.h

 

Anyone any ideas?

0 Kudos
Message 1 of 3
(2,050 Views)

Anyone? Is there a solution to this or not, seems strange that NI data types in Labview and CVi aren't compatible with Teststand. They're just u32s at the end of the day.

0 Kudos
Message 2 of 3
(2,023 Views)

Hi,

 

I am not an expert in TestStand, but I was looking into this and found a similar forum thread. Although it is from some time ago, it seems to me that it is quite relevant to you still. Check it out here:

https://forums.ni.com/t5/NI-TestStand/How-to-auto-recognize-the-function-parameters-called-from-a-DL...

 

I hope this helps.

 

Kind regards, 

Ruta

0 Kudos
Message 3 of 3
(2,006 Views)