11-14-2006 01:53 PM
11-14-2006 02:21 PM
Yes, read the "Class Name" property of the control to get the VI Server class name as a string.
-D
11-14-2006 02:39 PM
11-14-2006 02:43 PM
Unfortunately that's not possible. What you could do, though, is use the Variant value and wire it into vi.lib\Utility\GetType.llb\Get Type of Variant.vi. This VI will return an Enum value describing the datatype of the control. You could then use that enum in concert with a case structure to convert the variant to the appropriate type.
-D
11-15-2006 08:07 AM
Another idea...
invloves using a "trial and error" method.
The "To more specific" node will return an erro if you atempt to cast the refence to the wrong type. Monitoring the error cluster will tell you if the control reference is of the type you have tried.
This idea is just offered as "food for tought".
Have fun!
Ben