LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

acquire waveforms from function generator to oscilloscope

I have a problem. We constructed a virtual function generator and a virtual oscilloscope. It's working well, the oscilloscope is displaying the (almost) correct data. My problem is that the waveform displayed in the oscilloscope vi is always sine, although the selected waveform in the function generator is already different.

 

bdbd.jpg

 

I should replace the constant 'zero' with something so that the cases will change in order for my oscilloscope to display different waveforms. Is there a way to acquire the values of the constant enum, for instance, from another vi to this vi?

0 Kudos
Message 1 of 2
(3,981 Views)
Yes, you would need to replace the constant with a control. Once you do this, in the main VI you simply do a right click on the subVI's terminal and select Create Control/Constant that but you cannot change it as the subVI runs.
0 Kudos
Message 2 of 2
(3,950 Views)