Part I - Advanced Examples

  1. Open Spectrum Analyzer.vi (click to download). Set the Frequency 2 and 3 to zero. Also change Amplitude 2 and 3 equal to zero. Change the Frequency bar and listen to the signal from the speaker. Pay attention to the signalís frequency as it is displayed.
  2. This is a very good LabVIEW program to measure Fourier transform of various input signals.

 

Part II - Practice

  1. Open Dice.vi This VI shows how you can generate a random number between 1 to 6. Note how this program is put together.
  2. Open the Ding.vi program. Understand how it operates. Then change this program such that you can change the TONE and its DURATION from the front panel. Hiont: You should use knobs. Show your VI to the instructor.
  3. Open the Function_Generator.vi. In a NEW vi use this module as a sub-vi. Use a knob to modify the frequency and a selector to change the signal type. Show your VI to the instructor.
  4. Open the Signal_monitor.vi. Change the Square waveform to Sine waveform. Also, add an indicator such that you can monitor the frequency of the signal you are generating.

 

Part III - More Examples

  1. Here are some more examples you can do on your own to learn more about LabVIEW.
  2. Read about how to program National Instruments USB-6009 and USB-6008 multifunction I/O devices.