简体   繁体   中英

Add signal at graphics window through CAPL scripting

我想知道可以通过CAPL Scripting将信号添加到图形窗口的方法。因此,在执行我的测试用例期间,在图形窗口中应该只存在与各个测试用例相关的信号。

As far as I know, there is currently no way to interact with the UI from a CAPL script (ie you only have direct access to Signals/Messages and Environment Variables). Indirectly, you might be able to write a CAPL-DLL which uses COM automation to interact with the CANoe UI).


Edit (additional information) I did a bit more research and apparently there is no COM object or method which allows access to the Graphics window. There is a LoggingCollection object, but that only allows access to the trace logging functionality.

I generally use Python for COM Automation (as opposed to the VB examples available in CANoe help) and I checked the properties of the Configuration.OnlineSetup object and it has a GraphicCollection property but it seems like the object is not yet implemented.

Based on personal experience, I know that Vector has excellent support, you can always try to get in touch with them for more help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM