-
Notifications
You must be signed in to change notification settings - Fork 301
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
Lakeshore Model 372: include heater submodules into snapshot, don't snapshot blocking_t parameter, add output parameter to heaters #1746
Conversation
@ThorvaldLarsen is there a particular reason for the heaters to be in a list as opposed to JUST be submodules of the instrument added via |
Nope, add_submodule would also be fine for me. Ended up making a channellist because I couldnt get the add_submodule thing to work - turned out my issue was that I loaded from a wrong file in my tests rather than the add_submodule XD Just left it as channellists after that. I have no preference one way or the other. |
... without channel lists and without explicit adding as class attribute
Codecov Report
@@ Coverage Diff @@
## master #1746 +/- ##
=======================================
Coverage 67.56% 67.56%
=======================================
Files 146 146
Lines 18347 18347
=======================================
Hits 12397 12397
Misses 5950 5950 |
@ThorvaldLarsen I pushed some edits. Could you perform the test again? |
Yes, will test it again next week. |
ok, will remove the get_parser and investigate the thing separately |
... due to some warning that snapshotting gives. it will be investigated in a different commit/PR.
@astafan8 I just tested the current version of this driver and all the changes worked: Two things to comment on: Second: I found a different bug in |
@ThorvaldLarsen Thanks a lot! Then I merge this PR.
For now, I'll add this as a note in the description of the parameter in this PR. If needed, we can implement something smarter in the driver.
Thanks! But it is to be fixed, for sure, in a separate PR :) This PR already contains 3 subtly related changes. |
for lakeshore heater 372
This has been tested on a Model 372. I have not looked into if similar problems with snapshot of output channels are present in drivers for other models.
Ping @astafan8 as you most recently committed to this driver.
( original description was edited )