3.8 Realtime Curve Fitting

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\COM Server and Client\ 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.

RealtimeCurveFitting1.png

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

RealtimeCurveFitting2.png