LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can my labwindows project control a running labview executable or any other 3rd party software?

I am writing a program in Labwindows that needs to execute/control a LabVIEW executable without operator intervention.  How would I go about doing this.  Is there a special messaging protocol in Labwindows that allows me to do this?  Couldn't find any example code to work from.  Thanks.  Any help would be greatly appreciated.
0 Kudos
Message 1 of 5
(3,293 Views)

You can do this via the ActiveX interface. LabView for example has an ActiveX interface, so you can control LabView or a VI via thsi interface from CVI.

 

Here you can find more information and examples:

 

http://zone.ni.com/devzone/devzone.nsf/webcategories/A247F2BD6FD11D8D862567A90058B72D

0 Kudos
Message 2 of 5
(3,267 Views)
Alternatively, you can use the system() (ANSI library) or LaunchExecutable()/LaunchExecutableEx() CVI functions to start a third-party application.


Martin.

--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 5
(3,262 Views)
LaunchExecutable() function is the wise one to use.
Regards,
Kumar.E
0 Kudos
Message 4 of 5
(3,253 Views)

anguyen741 wants to start AND CONTROL another application, for example LabView.

If you only want to start another application I agree with you Kumar, that LaunchExecutable is easier to use. If you want to control the application, LaunchExecutable lets you only pass parameters to the exe, nothing else. When the application is running, and you want to control it from CVI, then you have to use ActiveX.

0 Kudos
Message 5 of 5
(3,244 Views)