ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Variant Info programmatically?

Colleagues, very simple questions: How to get Variant Info (which is visible in the Variant control placed on the front panel) programmatically?
See screenshot below:
it should be simple solution, but I can't found it...
Yes, I know about \vi.lib\Utility\VariantDataType, but parsing whole structure is hell... Especially when I will have cluster in cluster, etc...
Any idea?
 
Thank you in advance,
 
Andrey.
 
0 Kudos
Message 1 of 4
(3,100 Views)
You should check out the OpenG Variant Configuration File VIs. They do all the hard work of parsing the variants.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(3,088 Views)
Actually, it is the LabVIEW Data Tools  (oglib_lvdata) library that you probably want.

Thanks,
0 Kudos
Message 3 of 4
(3,082 Views)
Also see this recent thread for similar discussions.
🙂
0 Kudos
Message 4 of 4
(3,071 Views)