From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a push button switch?

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?
0 Kudos
Message 1 of 4
(2,465 Views)
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]
0 Kudos
Message 2 of 4
(2,465 Views)
Why bother with a reference when an attribute node can do it in less space
and effort?

Alan Brause wrote in message
news:3a909466@newsgroups.ni.com...
> Here's one way using LabVIEW 6 references.
>
> Alan
0 Kudos
Message 3 of 4
(2,465 Views)
True, but references can be used in sub-VIs. Attribute nodes can't.

"Craig Graham" wrote in message
news:3a90f3cb@newsgroups.ni.com...
> Why bother with a reference when an attribute node can do it in less space
> and effort?
>
> Alan Brause wrote in message
> news:3a909466@newsgroups.ni.com...
> > Here's one way using LabVIEW 6 references.
> >
> > Alan
>
>
>
0 Kudos
Message 4 of 4
(2,465 Views)