diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-02 23:59:29 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-01-02 23:59:29 -0500 |
commit | baf8977d499dc40ab89fb94b0784134945240708 (patch) | |
tree | 460b0efb6f6a8e81b1b1aff8598637d2ad7870a0 /qolab | |
parent | 62922398dcc67b1ef02d5bed89a39dfb9cde26bb (diff) | |
download | qolab-baf8977d499dc40ab89fb94b0784134945240708.tar.gz qolab-baf8977d499dc40ab89fb94b0784134945240708.zip |
use err in output
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/sds1104x.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py index e0653d9..aa5940f 100644 --- a/qolab/hardware/scope/sds1104x.py +++ b/qolab/hardware/scope/sds1104x.py @@ -117,7 +117,7 @@ class SDS1104X(ScopeSCPI): except ValueError as err: # most likely we get crazy number of points # self.read() # flushing the bogus output of previous command - print(f'Error: getting waveform failed for {qstr=}') + print(f'Error {err=}: getting waveform failed for {qstr=}') wfRaw=np.array([]) trRaw.config['unit'] = 'Count' trRaw.config['tags']['Decimate'] = decimate |