LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple case selection at a time

Hi, 

I have 3 cases for example case 0, case 1, case 2. i want to select multiple cases at a time  such as case 0,1,2 at time, 0,1 at a time,1,2 at time Etc etc. i have gone through some examples and got to know its not possible to select the multiple cases at time. Can someone give me an idea how can i do it??

 

🙂

0 Kudos
Message 1 of 37
(2,422 Views)

Hi jeet,

 


@User002 wrote:

I have 3 cases for example case 0, case 1, case 2.

i want to select multiple cases at a time  such as case 0,1,2 at time, 0,1 at a time,1,0 at time Etc etc.


How do you want to select "0,1,2" or "0,1" or "1,0"???

What's the difference between calling "0,1" or "1,0" "at a time"???

How do you determine which cases to execute "at a time"???

Do they really need to run in parallel???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 37
(2,413 Views)

hi,

for question 1 and 2. i want to select case using boolean push button. moreover  i want turn on all three or any two at time or only one.

3. yes.

 

 thank you

 

0 Kudos
Message 3 of 37
(2,407 Views)

@User002 wrote:

hi,

for question 1 and 2. i want to select case using boolean push button. moreover  i want turn on all three or any two at time or only one.

3. yes.

 

 thank you

 


How about posting an example of what you are working with that does not work and we could help make it work. 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 4 of 37
(2,393 Views)

Hi jeet,

 


@User002 wrote:

for question 1 and 2. i want to select case using boolean push button. moreover  i want turn on all three or any two at time or only one.


When there are 3 buttons then use 3 case structures...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 37
(2,381 Views)

Should up to three cases run truly in parallel or would it be sufficient to execute them sequentially? What do the various cases actually do?

0 Kudos
Message 6 of 37
(2,371 Views)

how to select mutiple cases at time? i have some cases such as case 0 case 1 case 2. i want to select some time indusually, some time 0,1 or 0,2 or 1,2 etc or all three at t time.. is it possible? 

0 Kudos
Message 7 of 37
(2,296 Views)

Hi jeet,

 

why do you need to start the same discussion again (after more than a month)?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 37
(2,289 Views)

i still did not get answer of it

0 Kudos
Message 9 of 37
(2,274 Views)

@User002 wrote:

how to select mutiple cases at time? i have some cases such as case 0 case 1 case 2. i want to select some time indusually, some time 0,1 or 0,2 or 1,2 etc or all three at t time.. is it possible? 


You should never select anything "indusually"; that's way too cromulent.

"If you weren't supposed to push it, it wouldn't be a button."
Message 10 of 37
(2,262 Views)