ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom boolean slave switch?

Is there a way to create a boolean switch whose output can be overridden by another switch wired into it? I can create switches with outputs using the controls palette on the front panel. I've created switches with inputs by generating subVIs from existing block diagrams. I'd like to create a switch that has both an input and an output with the following functionality:


Key:
M = master boolean switch
S = slave boolean switch
R = result

Mock Wiring Diagram:
M---------S---------R

Truth Table:

M S R
T T T
T F T
F T T
F F F


Thanks for your time.
0 Kudos
Message 1 of 2
(2,816 Views)
You can't create a custom control but using two separate controls it's easily done. I've attached a picture that shows how the diagram would look.
0 Kudos
Message 2 of 2
(2,816 Views)