Complete the following steps to display waveform data on a single-plot, single-point waveform chart.
- Add a waveform chart to the front panel.
- Build a block diagram with the following objects:
- Wire the x/y output of the Divide function to the x input of the Sine function, and wire the sin(x) output of the Sine function to the waveform chart terminal.
- Wire the iteration terminal of the While 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.
- Wire a Boolean value to the conditional terminal of the While Loop. You also can right-click the terminal and select Create Constant or Create Control from the shortcut menu to create the Boolean object.
- Run the VI.
Refer to the Charts VI in the labview\examples\general\graphs\charts.llb for an example of charting waveform data.