NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How works Get Property Value / Type Automatic?

Hi,
 
I need to get in Labview some variables from Teststand. The VI I wrote use "Get Property Value" from Teststand and works fine... when I specify the type of variable I whant from Teststand (Boolean, I32,...).
 
But I need a VI which retrieve the value of my variable independently of the variable type.
I tried to set the type option "Automatic" but the "Get Property Value" always give back an empty array of boolean....
 
How works the "Automatic" option by the "Get Property Value"?
Is there a possibility in Labview to get the type of a Teststand variable?
 
 
Cheers,
Risotto
0 Kudos
Message 1 of 2
(3,120 Views)
Risotto,

the "automatic" feature is no feature but an entry made because of the polymorphic design of the "get property value" VI. if you would change the order of the VIs contained in the polymorphic VI, you would retrieve other kind of values.
therefore never use the automatic setting of this VI. the simplest way to solve such thing is to pass the data in variant and an additional numeric value for identifying the type of the value.

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