01-11-2011 09:21 AM
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
01-11-2011 09:38 AM
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
01-11-2011 10:29 AM
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.
01-11-2011 11:09 AM
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.