LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

load external program using labview

Hi, i want to be able to run an external program e.g. a calibration routine using some other software. Then close the sequence i run in the external program, then run another sequence. Whats the best way of doing this?

 

Stu

0 Kudos
Message 1 of 4
(2,970 Views)

Why don't you use the System Exec VI to run a command line to execute your program?

 

See System Exec VI in the Help and for an example

 

Regards

Martin

Message 2 of 4
(2,958 Views)

Thanks Martin, i'am able to run the main appication now. But how do you load/run a file or sequence from within that appication.

0 Kudos
Message 3 of 4
(2,939 Views)

Are you trying to invoke this program and then interact with it like a user would and then continue on with your program?

 

You would need to know if this other application has some type of machine interface (API). It would be very difficult if not impossible to simulate a user to control the application through its UI. How does this application normally run? Does it support ActiveX? If so, you can interact with it that way. You would have to know the specifics of whatever interface it provides. Without that information I am not sure we could really give you any other suggestions.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 4 of 4
(2,931 Views)