Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CANape buttons blocked #4

Open
Darchek opened this issue Jun 8, 2023 · 2 comments
Open

CANape buttons blocked #4

Darchek opened this issue Jun 8, 2023 · 2 comments

Comments

@Darchek
Copy link

Darchek commented Jun 8, 2023

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.

@zariiii9003
Copy link
Owner

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.

@tmheath
Copy link

tmheath commented Feb 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants