06-24-2014 05:16 AM - edited 06-24-2014 05:17 AM
Hi,
how to know pro-grammatically variable type(string ,numeric ....) of TestStand variable using Labwindows CVI.
Thanks
Mukesh Kumar
06-24-2014 08:42 AM
Mukesh,
You could use the TS_PropertyGetType() function in CVI to do this. Here is a reference page for the GetType function--you can see that it returns a PropertyValueType which will indicate which type the PropertyObject (variable) is. In CVI, you'll find this function in the NI TestStand API 2013 instrument methods, under PropertyObject > Static Properties.
Hope it helps, and let us know if you have any more questions about it!