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.
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.