Automation Server


Component Object Model (COM) is a Microsoft centric interface standard for software componentry. It is used to enable interprocess communication and dynamic object creation in programming languages that support COM. The term COM is often used in the software development industry as an umbrella term that encompasses OLE, OLE Automation, ActiveX, COM+ and DCOM.

Origin can function as an automation server whereby other applications communicate with Origin using methods and properties exposed by Origin. Any application that supports COM programming, such as Visual Basic, Microsoft Excel, National Instruments LabVIEW, etc., can function as the client application that connects with Origin. Such applications can exchange data back and forth with Origin and can send commands to be executed by Origin.

A typical client application may involve some, or many, of the following steps:

  1. Launching the Origin application.
  2. Opening a previously customized Origin project file or preparing the default project to receive data from the client.
  3. Sending data (collected from hardware) to Origin.
  4. Sending commands to Origin to process the data or have Origin update result columns using the automatic column update feature.
  5. Getting results back from Origin in the form of worksheet or matrix data.
  6. Getting images of graphs and layout pages back from Origin.
  7. Saving the Origin project.
  8. Closing the Origin application.

Once the client closes the connection users can launch Origin at a later time and re-open the project saved by the client for further processing.


Client application created from CSharp, VB.NET and VC ect does not work across multiple versions. It should be re-built for CURRENT Origin version

Or

Work together with the pre-shipped Interop.Origin.dll file of the current version.(works for CSharp, VB.NET)

Procedure
  1. Find the Interop.Origin.dll file from the Origin installation folder.
  2. Replace the dll file on the application folder (usually it is together with exe file) with the one found in last step.
This document covers the following topics: