-
Notifications
You must be signed in to change notification settings - Fork 339
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
Integration of Power Meter HP437B #979
Conversation
* hardware / system test * unit test * documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution,
i left some comments in addition to the points found by the CI.
On the actual device, have you had a look inot it how much difference there is to the HP43 (with HPIB/GPIB option) and or the dual-channel 438?
I had a short look over the HP438A because it got mentioned in the manual of the 437B. What do you mean with "HP43 (with HPIB/GPIB)" ? The 437B as well as the 438A have GPIB options. |
Yes, without access to the hardware for testing it makes little sense.
Sorry, I ment the HP436.. |
I can pack the common commands into a base class so someone can later reuse them for the HP438A. But that would only make sense if it makes sense to inherit from the Channel and the BaseClass for the 438A because that one has the two channels. I checked, the HP436A shares nothing in common with the HP437B. |
It was just an idea but if it is too much work for the 438, then continue with your initial approach, |
* added real device tests * added getters to some functions which had none in before
I created a mockup up of how a 438A combination could be implemented. What do you think ? The multi inherence is kind of awkward.
|
* implemented last functions * fixed documentation
A few, quick comments regarding inheritance without looking at the code in detail: A comment regarding testing without a device: for that reason we have protocol tests. |
Sadly no, because the 437B is no multiple channel device. It has only one power sensor connector and therefore shouldn't offer the channel namespace.
The 438 has additional commands and has two channs.
I agree ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution, in gerneral it looks good to me.
I left some comments on certain points where iimprovement could be discussed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the latest changes, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution, I commented on a few points to improve.
@BenediktBurger Can you have a look why that Python 3.8 macos-latest test fails ? |
The test succeeded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more small changes, please.
May I merge? |
Sure go on |
No description provided.