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: 

Write a variable into Case Select

Write a new value into Case Select from the fronrt Panel Control,
I have to select by Serial number and do not want to rewrite code to enterr a different serial number to the Case Select
0 Kudos
Message 1 of 3
(2,268 Views)
If I understand you correctly, you want to modify the case selections programatically.  You can't do this.  What exactly are you wanting to accomplish?
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(2,261 Views)
You can't have a variable with the case statement. Do you need to have the entire serial number or just part of it (like a prefix)? Something other than a case statement might work if you would explain exactly what you need to do.
0 Kudos
Message 3 of 3
(2,260 Views)