LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically load update enum

Hello,

For my application I need to populate an enum from data base and then, let the user to choose from enum.

I have already found a code for populate an enum. 

But now, How do I refresh the enum at the GUI so I will show the new values.

And Another question, How do I remove values from the enum?

 

Thanks!

Gil,

0 Kudos
Message 1 of 2
(846 Views)

Hi Gil,

 


@gilmaor1 wrote:

But now, How do I refresh the enum at the GUI so I will show the new values.

And Another question, How do I remove values from the enum?


You cannot change an enum while the VI is running, you can only change it in the IDE…

 

Simple solution: use a ring instead!

On those "How…" questions: there are property nodes where you can set/define the values of a ring…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(835 Views)