aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope/sds1104x.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 20:57:53 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 21:03:02 -0500
commit735c19aed4fc85ff6f17b413930ada1672ebb4ff (patch)
tree0266f39936fc6336493965b4514a3199522cedc0 /qolab/hardware/scope/sds1104x.py
parent8a5e8d993a71728100839e6c37f765d15926c75d (diff)
downloadqolab-735c19aed4fc85ff6f17b413930ada1672ebb4ff.tar.gz
qolab-735c19aed4fc85ff6f17b413930ada1672ebb4ff.zip
generalized code
Diffstat (limited to 'qolab/hardware/scope/sds1104x.py')
-rw-r--r--qolab/hardware/scope/sds1104x.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py
index f9b898c..1b9b39e 100644
--- a/qolab/hardware/scope/sds1104x.py
+++ b/qolab/hardware/scope/sds1104x.py
@@ -188,6 +188,9 @@ if __name__ == '__main__':
print(f'Time per Div: {scope.getTimePerDiv()}')
print(f'Ch1 Volts per Div: {scope.getChanVoltsPerDiv(1)}')
print(f'Ch1 Voltage Offset: {scope.getChanOffset(1)}')
+ print('------ Header start -------------')
+ print(str.join('\n', scope.getHeader()))
+ print('------ Header ends -------------')
ch1 = scope.getTrace(1)
traces = scope.getAllTraces()