LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pass error cluster from labview dll to teststand

Hello,

 

I just want to pass an error cluster from a dll compiled in LV7.1 to TestStand 3.1. I never receive the contents of the LV error cluster in TS. I compiled my function with standard calling convention option, this should work. In my VI I generate only an error and pass to error output.

 

LV Settings:

 

settings_LV.jpg

 

 TS settings:

 

settings_TS.jpg

 

regards

MB

0 Kudos
Message 1 of 2
(2,499 Views)

MB,

 

please follow the info in this KB:

http://digital.ni.com/public.nsf/allkb/22BF02003B4588808625717F003ECD67?OpenDocument

 

Please note that using "By Value" will never return any values to TestStand!

 

You cannot use the default error-container in TestStand to receive data from the LV error cluster if you compile the VI into a LV DLL.

So either you choose to follow the KB or you split up the error cluster in your LV VIs to return error.occurred (boolean), error.code (numeric i32) and error.msg (LV String) .

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,457 Views)