LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a DOS application (or another Windows app) with a LabVIEW application running on the same computer

Highlighted
Does anyone know how if it is possible to control a DOS application (or another Windows app) with a LabVIEW application running on the same computer.

I need to send text to fields on the other (non-LabVIEW) application and possibly menu commands.

If someone knows this is impossible, I'll take that answer too.

Thanks
0 Kudos
Message 1 of 2
(1,147 Views)
Highlighted
It's certainly possible but how you do it depends a lot on the applications you want to control and whether you need to get data back from the other apps. Many Windows apps can be controlled via ActiveX. Many DOS programs can be set up by providing command line parameters and using the System Exec function in LabVIEW. You can find a number of methods by browsing through the discussions at http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=105&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&UQUESTION_0=How+to+control+a+Windows+application+from+Labview&UQUESTION_S=0. If you provide specifics about the programs you need to control, there may be someone here who can provide exact details. Good luck.
0 Kudos
Message 2 of 2
(1,147 Views)