10-07-2019 01:03 AM
I need to use a 2 way switch with integer control. Like when it is in true state then it gives int =1 as the output and when it is in false state then it gives int =2 as the output.
10-07-2019 01:12 AM - edited 10-07-2019 01:13 AM
Hi Neha,
LabVIEW provides a lot of boolean input switches. Use one of them.
There also is a "Boolean To 0/1" function: use it!
Then all you need to do is to apply some simple math:
output := 2 - BooleanTo01(boolean switch)
The other option is the same as in your other thread about 3-way switches:
Use a pointer slide control and set it's values as needed…
10-07-2019 01:20 AM
Another option is for you to use a selector.