LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple signal toggle switch

Hi all,

I have two sub-VIs which I want to switch between using a simple toggle switch. One generates a sine wave and one generates a cosine wave (both can have their frequency and amplitudes adjusted). I am using LabVIEW 6.1 and can only seem to find Boolean switches.

Is there an easy way to toggle between the outputs of these two simple signal generators?

Many thanks,


David Hogg
0 Kudos
Message 1 of 3
(2,805 Views)
Hi Hogster,
You should use your switch to control a case structure. This case structure will have a true and a false case. In the true case put sine subvi while in the false case put the cosine subvi.
 
Cheers
 
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
0 Kudos
Message 2 of 3
(2,800 Views)
Many thanks Doc-doc, I will try this 🙂


David
0 Kudos
Message 3 of 3
(2,790 Views)