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: 

Disable knob with a switch

   Hi All, I am very new to Labview so I am certain there is a very simple way to execute somthing like this. I have a Knob on my VI that will adjust the Noise displayed by a selected signal.  I would like to add two switches to this knob.  One switch to turn all noise on/off reguardless of the current setting of the knob it's self.  I would also like another switch to toggle between gaussian and standard white noise.  Any insight is greatly apperciated!

0 Kudos
Message 1 of 4
(3,901 Views)

Smiley Happy

 

ANS for your question attached...

-------------------------------------------------------------
kudos welcome
Message 2 of 4
(3,894 Views)

Similar to above except added property nodes to disable controls when overall switch is unselected.

 

 - Rkll

0 Kudos
Message 3 of 4
(3,862 Views)

Don't over-complicate things and clutter the front panel with multiple switches.

 

I would recommend a simple radio button control with three states (Off|Gaussian|White). Wire it directly to a case structure add it will act like an enum with the control names as items.

 

Here is a simple example (LabVIEW 8.0):

 

Download All
0 Kudos
Message 4 of 4
(3,843 Views)