pycanape icon indicating copy to clipboard operation
pycanape copied to clipboard

CANape buttons blocked

Open Darchek opened this issue 2 years ago • 2 comments
trafficstars

Hi @zariiii9003, thank you very much for your contribution. I am using CANoe and CANape and your repositories are very useful.

I have encountered and issue using the pycanape library when I try to open a CANape project. When I open the project thought this initialization:

canape = pycanape.CANape(
      project_path=r'C:\Users\Public\Documents\Vector CANape 17\Examples\CCPDemo',
      modal_mode=True,
      clear_device_list=False,
  )

the CANApe opens successfully but most of the buttons in the program are blocked (Start, Stop, Measurement Configuration and even the New, Load, Save, Project Save As, etc... in the Project tab). image

I have connected a Vector VN1630A cancase with the correct license, and when I start the CANape manually all the buttons are initialized correctly.

I am using Vector CANape 17.0 x64 in a Windows 10 laptop.

Again thanks for your contribution and for your help.

Darchek avatar Jun 08 '23 14:06 Darchek

I think that is just how CANape behaves, when it is controlled via its asap3 API. You'd have to ask Vector, whether there is a way to change that.

zariiii9003 avatar Jun 08 '23 15:06 zariiii9003

Calling CANape.set_interactive_mode with True allows the user to press these buttons, verified using CANape v15 (not officially supported by this library). It's probably to late now to be useful. @Darchek

tmheath avatar Feb 05 '24 15:02 tmheath