Automation on CW10

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Automation on CW10

1,539 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

935 次查看
J2MEJediMaster
Specialist I

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

 

---Tom

0 项奖励
回复

935 次查看
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 项奖励
回复

935 次查看
J2MEJediMaster
Specialist I

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

 

---Tom

 

0 项奖励
回复