chaitu-ycr / py_canoe

Python 🐍 Package for controlling Vector CANoe 🛶 Tool
https://chaitu-ycr.github.io/py_canoe/
MIT License
60 stars 35 forks source link

Dispatch CANoe without opening a configuration #16

Closed gfabiano closed 1 year ago

gfabiano commented 1 year ago

On my environment sometime I restart the Python script but I dont want py_canoe reload everything. It can be useful to make a dispatch method that not load a configuration in my opinion.

For now I modified the open method removing commenting this line for my configuration and works as expected.

166. # self.__canoe_objects['Application'].Open(canoe_cfg, auto_save, prompt_user)

chaitu-ycr commented 1 year ago

hi @gfabiano

practically i won't recommend this approach since this has side effects when running test modules. for basic methods this should be fine.

please create a pull request with implementation code.