Tuesday, March 5, 2019

Add Enum Items programmatically

I learned some trick in ni website to add the items programmatically in Enum control. I am aware to perform the same using  panel control reference method using VI reference (https://forums.ni.com/t5/Example-Programs/Programmatically-Add-Elements-to-Enum-Ring/ta-p/3514584). But I preferred this method which is more simple & easy to code.
Here we need to add one Ring control & set the "Strings" property and run the code. Now Rig control will have the items which you set through "Strings" property. In front panel right click over  Ring control and replace the it with Enum control. Now Enum will have the all the items which was added in Ring control.


2 comments:

Anonymous said...

Hello Sir,
I am Manoselvamani, Started my career in LabVIEW as LabVIEW Developer in Access Automation this January 2020. How can I Contact you Sir ? Can You Please guide me in LabVIEW ?
My Blog :
http://manosivasamy.blogspot.com/
LinkedIn : manosivasamy

Thank You ! Sir

Anonymous said...

My Mail id : manoselvamani.s@gmail.com