You can programmatically chart waveform data on a waveform chart.

This procedure describes how to build a simple VI that continuously generates a sine wave and chart that wave on a waveform chart. You can apply these same principles to chart real waveform data with LabVIEW.

To display waveform data on a single-plot, single-point waveform chart, complete the following steps.

  1. Add a waveform chart to the front panel.
  2. Build a block diagram with the following objects:
  3. Wire the x/y output of the Divide function to the x input of the Sine function.
  4. Wire the sin(x) output of the Sine function to the waveform chart terminal.
  5. Wire the iteration terminal of the While Loop to the x input of the Divide function.
  6. Right-click the y input terminal of the Divide function and select Create » Constant from the shortcut menu.
    A numeric constant appears.
  7. Enter 10 in the constant and press the Enter key.
  8. Add a Boolean value to the While Loop with either of the following methods:
    • Wire a Boolean value to the conditional terminal of the While Loop.
    • Right-click the conditional terminal of the While Loop and select Create Constant or Create Control from the shortcut menu to create the Boolean object.
  9. Run the VI.

For an example of charting waveform data, refer to the Waveform Chart Data Types and Update Modes VI in the labview\examples\Controls and Indicators\Graphs and Charts\Waveform Graphs and Charts directory.