> How come NI did not address this issue yet?! They got to have a > universal "GetTypeofVariant" thing somehwere there, I am pretty sure. >
In plenty of cases, variants can only have a few types. It is pretty easy to cast them to the various types to see which succeeds and which fails. In those cases where the variant can truly be anything, then there is no simple way of saying here it the type except to give the type descriptor. The node that does that is the Variant to Flattened String, right next to the Variant to Data. Just ignore the flattened string part and take the array of I16s that encode LV types. As mentioned, there are utilities for parsing this type, but this is quite low level and difficult. On the otherhand, it is a binary encoding of all possible types LV can represent, it has to be low level and complex. If you have more questions about getting something done, please ask, I'll stop making excuses for how hard it is now. Greg McKaskle
