LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I implement a switch that can let me choose the output of my choice

I am trying to extract information from a decoder. I use 3 different brands of decoders for comparison purposes, and was wondering whether it is possible in LabVIEW to have a switch that lets me choose whether i want to output information from decoder A, or information from decoder B, say.


Thanking you guys in advance.
0 Kudos
Message 1 of 2
(2,532 Views)
A case structure is the one which fits on that. Wire your switch to it and inside each case put the vi of each decoder. If you need more than two cases of a boolean, you can use a numeric control as a slider with 3, 4... positions, or a text ring.
If you need a more accurate control, you can use state machines.
Hope this helps
0 Kudos
Message 2 of 2
(2,532 Views)