Automation on CW10

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automation on CW10

908 Views
RValls
Contributor III

Hi all!

I have recently downloaded CW10, and I am able to do the normal stuff, i.e. convert a project from CW7 to CW10, set targets and program them to the boards, etc...

Now I am trying to do the same I was doing on CW7 about automation.

I have got some programs that comunicates with CW7 through COM objects, but in the new version I can't register the servers by double clicking {InstallPath}\MCU\bin\Mwregsvr.exe.

It asks me for the dll, which on CW7 it autosearched.

Does CW10 have got support for automation? If so, please tell me where can I found some documentation (no .pdf contains anything about this topic).

 

Tbanks in advance,

Rubén

Labels (1)
0 Kudos
3 Replies

304 Views
J2MEJediMaster
Specialist I

CW 10 does provide automation, but it is through the use of Tcl.

 

---Tom

0 Kudos

304 Views
RValls
Contributor III

Ok then. I have already investigated about TCL, and with it I can do all what I need. Just one last question: Any time I execute the IDE to execute a script (by using the command line cwide.exe -vmargsplus -Dcw.script=D:\my_script.tcl) it launches a new instance of the IDE. Is posible to execute the script on the instance that is already opened?

 

Thanks for the quick response,

Rubén

0 Kudos

304 Views
J2MEJediMaster
Specialist I

Within the IDE, open the Debugger Shell view. Then, execute your Tcl script from within it.

 

---Tom

 

0 Kudos