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

Question about Start/Stop Measurement #3

Open
PyCoder9595 opened this issue Nov 21, 2023 · 5 comments
Open

Question about Start/Stop Measurement #3

PyCoder9595 opened this issue Nov 21, 2023 · 5 comments

Comments

@PyCoder9595
Copy link

Does the project support start and stop measurement without closing CANalyzer? "Server Busy" dialogue with "This action cannot be completed because the other program is busy" message is displayed in CANalyzer v17 when attempting to stop measurement.

@sgnes
Copy link
Owner

sgnes commented Jan 11, 2024

You don't have to do anything in Canalyzer manually once rhe capl script development is done, the tool will open Canalyzer and start measurement and close Canalyzer once testing is done, hope this answers your question, thanks!

@PyCoder9595
Copy link
Author

I am interested in opening Canalyzer, then starting and stopping measurements several times before closing Canalyzer. Is there a way to control the start and stop of measurement independently from opening and closing Canalyzer?

@sgnes
Copy link
Owner

sgnes commented Jan 16, 2024

It's possible, but this library was intended to be used for test automation, so there is no manually start stop measurement api, but first you can try canalyzerobject._CANalyzer.Measurement.Stop(),Start to start and stop the measurements, this should work, I don't have a usable setup, so I can't test it myself, thanks.

@PyCoder9595
Copy link
Author

I gave it a try. I get the attached com error.
CANalyzer action cannot be completed

Measurement Stop Operation Refused

@sgnes
Copy link
Owner

sgnes commented Feb 18, 2024

I tried and face the same issue you mentioned, I searched and tried but could not solve this issue, sorry can't help.
Just want to better understand, what is the use case "starting and stopping measurements several times before closing Canalyzer"?

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

2 participants