01-28-2013 10:16 AM - edited 01-28-2013 10:22 AM
I have a variant data. See attachament. I tried using variant to data function to get each values inside the variant.
Is there any way to extract or get each values in a variant data type? How is it usually done?
Thanks
Solved! Go to Solution.
01-28-2013 10:29 AM
If you are using the value of the variant, you pretty need to know what the data type is. There is a Variant to Data node that you can use.
01-28-2013 11:08 AM
Not only did you post to the wrong board, you are cheating by posting a bmp file that you simply renamed. Please, you really don't think that a rename will actually change the file format do you?
01-29-2013 04:54 AM
Sorry Dennis... my mistake. was in a hurry so didnt get time. Should I not post this question in LabVIEW thread? If wrong, where?
I tried Variant to data node. But it didnt work.
01-29-2013 06:50 AM
01-29-2013 07:35 AM - edited 01-29-2013 07:36 AM
@Nghtcrwlr wrote:
Should I not post this question in LabVIEW thread?
You originally posted this in the Breakpoint board. I had the moderator move it to the LabVIEW board.
Use the context help (Ctrl+H to toggle it on/off). You will notice if you put your cursor over the Variant to Data node that it explains that you have to supply a data type to convert to. You can wire anything into the data type, such as an array of doubles. If you don't supply a type, it defaults to a variant.