LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

property definations of typedesc

Hi:
I am writing a Simulator VI that will be controlled by another VI that is called from a TestStand sequence.  The controlling VI sends commands to set controls on the Simulators front panel. The simulator VI needs to verify that the command received is applicable to the control referenced. To do that I need to know what the type of the control (so I don't try to set a Boolean value to -10.34) but return an error to the calling VI.  The controls type is returned in the typedesc property but I can not find out what the values mean.
Is there some library function I can call the will translate a 22 to the type of control (like a U16)?
 
Lou Prugh
General Dynamics
0 Kudos
Message 1 of 2
(2,689 Views)

Are you using the Set Control Value method?

If you are, then there is no need to do any checking. The method works on a name basis and if there is no match it will return an error.

If you still want to get the data, go to OpenG, install the commander and download the data tools package, where you can find the Get Header from TD VI, which will give you information about the TypeDesc.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,684 Views)