Charting Waveform Data

Complete the following steps to display waveform data on a single-plot, single-point waveform chart.

  1. Add a waveform chart to the front panel.

     Add  Find
  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, and wire the sin(x) output of the Sine function to the waveform chart terminal.
  4. Wire the iteration terminal of the While Loop to the x input of the Divide function.
  5. Right-click the y input terminal of the Divide function and select Create»Constant from the shortcut menu. A numeric constant appears.
  6. Enter 10 in the constant and press the <Enter> key.
  7. 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.
  8. Run the VI.

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 for an example of charting waveform data.

 Open example  Find related examples