3.2 Plotting XY Data with the Same X


This example shows how to make a XY data plot with the same X in LabVIEW with Origin.

    It is to demonstrate the following:
  1. Calculate the expressions X(x) and Y(x) with the same variable x, x is increasing continuously when the program running, until the Stop button pressed down.
  2. Make a 2D line plot by using X and Y dynamically on a graph layer.


  • The block diagram below is starting from an Origin project file named Simple XY.opj. The axis scale of the Graph in project was set by LabTalk script.
    XY data plot1.png
  • Parametric function X(x) and Y(x) was generated, and the interval of parameter x is 0.1. The resulting values was sended to Worksheet and GraphLayer with a data update period of 100ms.
    XY data plot2.png