How to create multiple application instances in CANoe COM Server Interface

浪尽此生 提交于 2020-06-09 06:27:12

问题


I’m trying write client application to CANoe (application by Vector). I can fully control one application trough COM server objects but if i create a new application instance, gCanAppB, the original instance gCanAppA is closed. How can i tell to the COM Server, that open the new instance in new application window?

My source code:

Set gCanAppA = CreateObject( "CANoe.Application")
Set gCanAppB = CreateObject( "CANoe.Application")

gCanAppA.Open ("Easy.cfg")
gCanAppA.CAPL.Compile
gCanAppA.Measurement.Start

gCanAppB.Open ("Easy.cfg")
gCanAppB.CAPL.Compile
gCanAppB.Measurement.Start

回答1:


You can deactivate this behaviour in the options below Configurations/Options:



来源:https://stackoverflow.com/questions/28791340/how-to-create-multiple-application-instances-in-canoe-com-server-interface

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!