10-06-2017 02:17 AM
Hi guys,
Need help to automated the ST-Link software with Labview to program ST Micro device.
thanks,
10-06-2017 04:02 AM
That is more a question ("How can I control your software from an external program") for the maker of that software.
It seems the software has a command line interface (manual, page 35). You can use System Exec.vi to invoke the command line.
10-07-2017 03:06 AM
Hi Carya,
Thanks.
Now trying to use AutoIT to simuate the user input for ST Link programmer.
But facing problem to known whether the process is OK or failed
10-07-2017 04:38 AM
Hijacking another program is very tricky. You can get feedback, by getting window handlers, then child window handlers, and then send messages to those handlers. Sending messages can also be used to set values. It's very tricky, and some programs can't be controlled like that at all (Java and LabVIEW programs use custom controls, not Windows' controls).
If you have any other option, it will probably be easier in the long run.