Graphing XY Data

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Complete the following steps to display an array of points on a single-plot XY graph.

  1. Add an XY graph 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 first (top) input terminal of the Bundle function.
  5. Wire the x*y output of the Multiply function to the second (bottom) input terminal of the Bundle function.
  6. Wire the iteration terminal of the For Loop to the x input of the Divide function and to the x input of the Multiply function.
  7. Right-click the y input terminal of the Divide function and select Create»Constant from the shortcut menu. A numeric constant appears.
  8. Enter 10 in the constant and press the <Enter> key.
  9. Wire the constant to the y input terminal of the Multiply function.
  10. Wire the output terminal of the Bundle function to the XY graph terminal. An auto-indexing tunnel appears where the wire intersects the loop border.
  11. Right-click the count terminal of the For Loop and select Create Constant from the shortcut menu. A numeric constant appears.
  12. Enter 100 in the constant and press the <Enter> key.
  13. Run the VI.

Refer to the XY Graph Data Types VI in the labview\examples\Controls and Indicators\Graphs and Charts\XY Graph for an example of graphing XY data.

WAS THIS ARTICLE HELPFUL?

Not Helpful