-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reply from setting a property using the check_errors * symetry in setting/getting properties Some properties use integer to set their actual floating point values. The driver gives the possibility to get the integer or the float directly but you could only set it using the integer representation. That creates an asymetry not working well with pymeasure Control object. I therefore changed the get command to the one using the integer (without the dot) * Update ametek7270.py * using dynamic setting of sensitivities values depending on the voltage/current mode * adding the measurement theta for the phase of the signal (different from the phase Control representing the harmonic reference phase) * use ask at the place of write to assert the return value of the null character as specified in the doc * Update pymeasure/instruments/ametek/ametek7270.py Co-authored-by: Benedikt Moneke <67148916+bmoneke@users.noreply.github.com> * Update pymeasure/instruments/ametek/ametek7270.py Co-authored-by: Benedikt Moneke <67148916+bmoneke@users.noreply.github.com> * added docstring * added author and test file * added default termination and casting id to str * Update test_ametek7270.py * added tests generated using Generator #882 * reimplement ask to make sure the new line character is removed when using ask * linting * Update ametek7270.py * moved reimplemented methods into Ametek7270 class and added comma * removing generate_tests.py file * adding reference mode method and checking if related measurements are valid * Update pymeasure/instruments/ametek/ametek7270.py Co-authored-by: Benedikt Moneke <67148916+bmoneke@users.noreply.github.com> * Update pymeasure/instruments/ametek/ametek7270.py Co-authored-by: Benedikt Moneke <67148916+bmoneke@users.noreply.github.com> * removed numpy import and usage * Update ametek7270.py * trying to parametrize the invalid properties tests * linting * tests invalid properties * Update pymeasure/instruments/ametek/ametek7270.py Co-authored-by: Benedikt Moneke <67148916+bmoneke@users.noreply.github.com> * applying requested changes on tests and modified the id property * Update test_ametek7270.py --------- Co-authored-by: Benedikt Moneke <67148916+bmoneke@users.noreply.github.com>
- Loading branch information
1 parent
fe171bb
commit 463dc6b
Showing
3 changed files
with
624 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,5 @@ Max Herbold | |
Alexander Wichers | ||
Ashok Bruno | ||
Robert Roos | ||
Sebastian Neusch | ||
Sebastien Weber | ||
Sebastian Neusch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.