LabVIEW:Realtime Curve Fitting

From OriginLab Wiki

Jump to: navigation, search

This example shows how to do realtime curve fitting in LabView with Origin.

It is to demonstrate the following:

  1. Connect to a running Origin with OA_ConnectToOrigin.vi which maps to the ApplicationSI method in Origin.
  2. Specify a path to load the analysis template "Simple NLFit.ogw", which is under <Origin Program Folder>\Samples\Automation Server folder.
  3. Generate the Gaussian peaks with variable widths and import it to analysis tempate to do realtime fitting.
  4. Show the dynamic changed widths on the waveform chart.


This example is mainly composed of two parts.

  • The figure below is to load a template.

Image:RealtimeCurveFitting1.png

  • The figure below is to perform the realtime curve fitting.

Image:RealtimeCurveFitting2.png