Complete the following steps to display waveform data on a single-plot waveform graph.
- Add a waveform graph to the front panel.
- Build a block diagram with the following objects:
- Divide function
- Sine function
- For Loop around all objects on the block diagram except the waveform graph terminal
- Wire the x/y output of the Divide function to the x input of the Sine function.
- Wire the sin(x) output of the Sine function to the waveform graph terminal. An auto-indexing tunnel appears where the wire intersects the loop border.
- Wire the iteration terminal of the For Loop to the x input of the Divide function.
- Right-click the y input terminal of the Divide function and select Create»Constant from the shortcut menu. A numeric constant appears.
- Enter 10 in the constant and press the <Enter> key.
- Right-click the count terminal of the For Loop and select Create Constant from the shortcut menu. A numeric constant appears.
- Enter 100 in the constant and press the <Enter> key.
- Run the VI.
Refer to the Waveform Graph VI in the labview\examples\general\graphs\gengraph.llb for an example of graphing waveform data.