How to create multiple application instances in CA

2020-05-09 09:15发布

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条回答
▲ chillily
2楼-- · 2020-05-09 09:58

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

查看更多
登录 后发表回答