Exercise 5 - Using Waveform Graphs
Front Panel
1. Open a new VI and build the following front panel using the
following tips.
a. Create a waveform graph indicator from the
ControlsGraph Indicators palette. Use the
position/size/select tool to move the plot legend to the
side, and expand it to display two plots. Use the labeling
tool to change the plot names and the properties page to
choose different colors for your plots.
b. Place a Stop button on the front panel.
c. Place two vertical pointer slides from the ControlsNumeric
Controls palette. Use the properties page again to change the slide fill
color.
Block Diagram
2. Build the following block diagram.
a. Place a While Loop from FunctionsExecution Control
palette.
b. Place a Wait Until Next ms Multiple from FunctionsAll
Functions Time & Dialog and create a constant with a
value of 100.
c. Place two Simulate Signal Express VIs from the
FunctionsInput and leave the Signal type as Sine for the
first Simulate Signal VI and change the Signal Type to
Square for the second VI. Wire both of the outputs into the
waveform graph. A Merge Signals function will
automatically be inserted.
d. Expand the Simulate Signal Express VIs to show another
Input/Output. By default, error out should appear. Change
this to Frequency by clicking on error out and choosing
Frequency.
3. Save the VI as [Link].
4. Display the front panel and run the VI.
5. Save and close the VI.
End of Exercise