While Loop—Drag the loop around all objects on the block diagram
Add Find
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 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.