Automation on CW10

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Automation on CW10

1,761件の閲覧回数
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 返答(返信)

1,157件の閲覧回数
J2MEJediMaster
Specialist I

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

 

---Tom

0 件の賞賛
返信

1,157件の閲覧回数
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 件の賞賛
返信

1,157件の閲覧回数
J2MEJediMaster
Specialist I

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

 

---Tom

 

0 件の賞賛
返信