LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple strings in a single case of a case structure

Hello, i have this problem:

I have a string and, based on whats written inside of it, a case structure executes the respective case. two of the cases are exactly the same, is there a way to make a single case answer to 2 separate strings? Or do i have to keep 2 identical cases one for each strings

0 Kudos
Message 1 of 3
(827 Views)

You can use same case with Multiple Input strings.

Use Case with Comma Separated Eg: (Init,Execute) for both input it will execute the same case.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 3
(822 Views)

Hi dom,

 

did you read the LabVIEW help for the case structure? There's a link inside the help taking you to another page about "range of values"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(815 Views)