10-23-2002 04:01 AM
10-23-2002 04:54 AM
10-24-2002 01:34 AM
10-24-2002 03:13 AM
10-24-2002 04:31 AM
10-24-2002
02:13 PM
- last edited on
11-09-2025
02:21 PM
by
Content Cleaner
LabVIEW 5.0 and above supports the use of LabVIEW as an ActiveX server. This means that using ActiveX automation other programs can interface with the LabVIEW automation server. Using an automation client, it is possible to programmatically launch LabVIEW, open and run VIs, and pass their data back to the calling program. This is done by interfacing with the LabVIEW type library which is located in the "..\LabVIEW\resource" directory. By browsing this type library, information about the classes that LabVIEW exports is available. In general, LabVIEW exports a creatable class, Application, and a dispatch class, VirtualInstrument. For information on all the properties and methods exported by the LabVIEW type library, please see the Online Reference in LabVIEW. Additionally,
LabVIEW executables can be enabled as ActiveX automation servers and can be accessed from any automation clients including LabVIEW itself or even another LabVIEW executable.
You may want to look into using VI Server. This is an easy way to allow other applications to run your VI. It actually uses ActiveX to run it, so it's basically an ActiveX server. Click here for more information about ActiveX and LabVIEW. It's a very useful tutorial and can get you headed in the right direction.