From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to add a "dispense fanta" enum

Solved!
Go to solution

Hello,

 

I am building a coke machine. Right now, the coke machine only dispenses Coke, but I need for it to dispense Fanta also. I am trying to add an enum constant for dispensing, but I couldn't get for it to work. Can someone take a look? I attached my code for reference.

0 Kudos
Message 1 of 5
(2,286 Views)

Edit the existing enum and add a new item. No separate enum needed.

0 Kudos
Message 2 of 5
(2,262 Views)

Not sure how to do that, can you explain? Thanks!

0 Kudos
Message 3 of 5
(2,260 Views)

Does that mean you did not write the program that you have attached? (If you created the original enum, you would know how to add entries!) Have you done any LabVIEW tutorials? What have you tried?

 

 

0 Kudos
Message 4 of 5
(2,256 Views)
Solution
Accepted by topic author Seacreature2002

Hello,

Right click on Enum then click on open type def it will open front panel of that enum it that right click and go to edit item.

Expand.Evolve.Influence
0 Kudos
Message 5 of 5
(2,255 Views)