This document provides instructions for creating a VI that displays a multiplot graph with sine and square waves. The VI contains a waveform graph indicator with two plots, stop button, and two vertical pointer slides. A while loop runs every 100 ms and simulates sine and square signals, wiring the outputs to the graph. Frequency inputs were added to the simulate signal VIs to allow adjusting the plot frequencies.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
18 views
Using Waveform Graphs
This document provides instructions for creating a VI that displays a multiplot graph with sine and square waves. The VI contains a waveform graph indicator with two plots, stop button, and two vertical pointer slides. A while loop runs every 100 ms and simulates sine and square signals, wiring the outputs to the graph. Frequency inputs were added to the simulate signal VIs to allow adjusting the plot frequencies.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
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 MultiplotGraph.vi. 4. Display the front panel and run the VI. 5. Save and close the VI.