NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Flow control - How to use select case

Solved!
Go to solution
Hi.
 
I thought I should check out the select/case flow control steps in TS 3.1. Does anybody know how to define one case for more than one option? I want to set up the case as the example in VB shows:
 
dim i
i = "One"
select case i
case "One", "Two", "Three"
   
Regards
Tom Andres Lomsdalen, CTD
Message 1 of 5
(6,791 Views)
Solution
Accepted by topic author TomLomsdalen

Hi Tom,

 

This functionality is not possible.  You may want to use an If/Else If/Else structure to combine your cases.

 

Allen P.

NI

0 Kudos
Message 2 of 5
(6,730 Views)

Have you any answer for this.

 

I'm having a problem like this. But Have not been able to make it work. 

I'm using TS4.1.1

 

This is working. 

Selsect 

Case 1 

case 2

case3

End select 

 

 Thins is not.

Select 

case 1,2

case 3,4

end Select:

 

 Please help me if you have some advice

 

 

0 Kudos
Message 3 of 5
(6,296 Views)

Answered here.

0 Kudos
Message 4 of 5
(6,287 Views)