LabVIEW:Sending XY Data To Origin

From OriginLab Wiki

Jump to: navigation, search

This example is to complement the Sending Waveforms example. Instead of waveforms, which is essentially just Y columns of data with sample rate, this example shows how to send XY data to Origin. More specifically, the VI demonstrates the following:

  1. Load an opj which contains a worksheet and a graph.
  2. Generate two datasets (XY data) and send them to Origin.

This example is mainly composed of two parts.

  1. The following block shows how to load an opj file and find the specified worksheet. The found worksheet has also been cleared.
    Image:Send XYData To Origin1.png
  2. The following block shows how to generate two datasets (XY data) and send them to Origin. Please note that a row index of -1 is used to indicate to append data to worksheet, which is a new connected added in SR6.
    Image:Send XYData To Origin2.png
Note: This VI is available since Origin 8 SR6.