LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use Labview to control ST Micro ST-Link Software?

Hi guys,

 

Need help to automated the ST-Link software with Labview to program ST Micro device.

 

thanks,

 

0 Kudos
Message 1 of 4
(3,156 Views)

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.

 

 

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

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

0 Kudos
Message 3 of 4
(3,104 Views)

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.

0 Kudos
Message 4 of 4
(3,099 Views)