05-11-2015 09:09 AM
Hi All,
I am using VI Scripting in LabVIEW 2010. I am in need of finding out the datatype of the wire connected to a terminal. Wire terminal reference gives a property called "Datatype". I believed this will help me out. But this is a variant and how do i actually convert it to data to find out the datatype. I do specifically want to make use of cluster datatype. How to find out whether the wire is of cluster type?
Thanks for any help.
Solved! Go to Solution.
05-11-2015 10:48 AM - edited 05-11-2015 10:49 AM
You want to use the "GetTypeInfo.vi" VI in "LabVIEW 20xx\vi.lib\Utility\VariantDataType\" folder for this!
I would recommend installing this VI Package, as it adds these functions to the palettes:
https://decibel.ni.com/content/groups/hidden-gems-in-vilib
Here's how it looks: