Here's one way using LabVIEW 6 references.
Alan
"Juan" wrote in message
news:101-506500000008000000DD140000-982303670000@quiq.com...
> Excuse my ignorance. One weekend playing with LabVIEW...
>
> Situation: A transmitter controller has two switches:
> 1) RF output (ON/OFF)
> 2) Output switch (Antenna-1/Antenna-2)
>
> Rule: When the output power is ON you cannot change the state of the
> output switch since it might damage the transmitter when the load
> changes.
>
> Question: How can I freeze the position of the Output Switch when the
> RF Power switch is in the ON state?
[Attachment RF Switch.vi, see below]