From 735c19aed4fc85ff6f17b413930ada1672ebb4ff Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 9 Dec 2021 20:57:53 -0500 Subject: generalized code --- qolab/hardware/scope/sds1104x.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qolab/hardware/scope/sds1104x.py') 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() -- cgit v1.2.3