05-12-2010 12:48 AM
Hello
in my program i want to place a check if the comming data is int8,int16 or int32 based on that i have a case structure which will further select what to do if data is int8 then do this if int16 then do this etc.what is the suggestion regarding finding the data type means if it is int8,int16 or int32 etc
regards
05-12-2010 12:57 AM
05-12-2010 02:12 AM
05-12-2010 09:08 AM - edited 05-12-2010 09:09 AM
You can also use the "GetTypeInfo" VI found in the vi.lib\Utility\VariantDataType folder:
I would agree with tst, though, that the polymorphic VI is probably the best option.
05-12-2010 08:28 PM