Connecting LabVIEW with Origin

Publish Date: Nov 28, 2018 | 2 Ratings | 2.00 out of 5 | Print

Overview

LabVIEW is widely used for data acquisition from third-party instruments. Origin provides powerful data analysis and graphing tools, including an Analysis Template feature to perform repeat analysis on newly acquired data. The ability to communicate between LabVIEW and Origin enables you to make use of Origin's powerful data analysis and graphing capabilities. Data that you acquire can be saved as an Origin project for post-processing, or it can be graphed and analyzed by Origin on-the-fly while it is being acquired.

Table of Contents

  1. LabVIEW Sub-VIs Provided with Origin
  2. Examples of Connecting LabVIEW with Origin
  3. Setting up Connectivity between LabVIEW and Origin
  4. Additional Resources

1. LabVIEW Sub-VIs Provided with Origin

Origin provides a collection of custom LabVIEW sub-VIs that you can add to your own VIs, to easily communicate with Origin from a native LabVIEW environment. The images below display the four palettes of sub-VIs that are shipped with Origin.

 

Back to Top

2. Examples of Connecting LabVIEW with Origin

The LabVIEW Connectivity page on the OriginLab website provides an overview of the connectivity feature, along with links for documentation, video tutorials, and examples.

The following two examples showcase two specific applications that make use of the connectivity between LabVIEW and Origin.

 

Example 1: Graphing and Analyzing Data On-the-Fly

In this example, data is sent to Origin and displayed in a graph. The graph is updated as more data is collected, allowing the user to inspect and analyze the data on-the-fly.  Origin’s FFT Gadget tool is used to display the frequency spectrum over a region-of-interest. The user can change the region-of-interest rectangle, and the FFT result updates dynamically, allowing for inspection and analysis of the data during acquisition.

 

Example 2: Performing Curve Fitting with Analysis Template

An Origin workbook can be configured to function as an Analysis Template, where graphs and results of analysis operations are combined in an Origin multi-sheet workbook. This can be done using Origin's GUI tool. No programming is needed. Analysis templates can include a custom report where graphical and numerical results are arranged flexibly within a worksheet. Any time the data is changed, the analysis results are recalculated, and all associated graphs and custom report sheets are automatically updated.

In this example, multiple datasets are pushed to Origin from LabVIEW. Each dataset is placed into a new instance of the Analysis Template. The template is configured to perform nonlinear curve fitting. The user can then examine the results and print or export the final custom report for each dataset.

 

Back to Top

3. Setting up Connectivity between LabVIEW and Origin

  1. Install Origin on your computer. You can download a fully functional evaluation copy of Origin from the Origin website, and obtain a free license valid for 21 days.
  2. Start Origin. Then select the “Tools: Copy Origin Sub-VI to LabVIEW User.lib…” menu item. This will automatically copy the palate files for Origin’s sub-VIs to the user.lib\addons subfolder under your LabVIEW installation folder.
  3. Select the “Help:LabVIEW VI” menu in Origin for documentation and examples.

Back to Top

4. Additional Resources

OriginLab Website

LabVIEW Connectivity with Origin

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit