LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Play Waveform Express vi: How to disable "Normalize waveform"?

I am an EE professor. My students are using LabView to develop simple music synthesizers. How can we disable the "Normalize Waveform" function within the "Play Waveform" express vi, so that we can control volume with amplitude?

0 Kudos
Message 1 of 3
(3,369 Views)

Since you know that Normalize Waveform.vi is inside the Express VI, you have apparently converted Play Waveform.vi to a standard VI and opened its block diagram. You can either remove Normalize or, probably better, add a boolean control and a case structure around Normalize from the Play Waveform and save with a different name.

 

While you are at it, change the signal inputs and outputs to arrays of waveforms (as it uses internally) and get rid of the evil Dynamic Data Type. You can use the process to teach your students better programmig pracitces while getting the Vi to perform as you want.

 

Lynn

0 Kudos
Message 2 of 3
(3,354 Views)

One thing that might be tripping you up is you have to change "subPlayWaveform.vi" to edit mode (<ctrl>+M  or operate>>change to edit mode).  Seems maybe you've clicked "open front panel" and "convert" enough times to get to the block diagram that shows the normalize function but were unable to edit it? 

0 Kudos
Message 3 of 3
(3,333 Views)