Skip to content
Snippets Groups Projects
Commit 344d4881 authored by Daniele Nicolodi's avatar Daniele Nicolodi
Browse files

si5datalogger: Cleanup

Fix typo. Removed configuration of unused channel. Emit newline at the
end of the data acquisition.
parent c994fcfe
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,6 @@ from ptblab import datalogger, terminal, win32time ...@@ -7,10 +7,6 @@ from ptblab import datalogger, terminal, win32time
SETUP = [ SETUP = [
# channel 101+111: Pt100, 4-wire resistance measurement
'CONF:FRES 100,(@101)',
'SENS:FRES:NPLC 100,(@101)',
# channel 104+114: Pt100, 4-wire resistance measurement # channel 104+114: Pt100, 4-wire resistance measurement
'CONF:FRES 100,(@104)', 'CONF:FRES 100,(@104)',
'SENS:FRES:NPLC 100,(@104)', 'SENS:FRES:NPLC 100,(@104)',
...@@ -27,7 +23,7 @@ SETUP = [ ...@@ -27,7 +23,7 @@ SETUP = [
'CONF:RES 100e3,(@107)', 'CONF:RES 100e3,(@107)',
'SENS:RES:NPLC 10,(@107)', 'SENS:RES:NPLC 10,(@107)',
# channel 107: NTC, 2-wire resistance measurement # channel 108: NTC, 2-wire resistance measurement
'CONF:RES 100e3,(@108)', 'CONF:RES 100e3,(@108)',
'SENS:RES:NPLC 10,(@108)', 'SENS:RES:NPLC 10,(@108)',
...@@ -110,6 +106,8 @@ def main(device, fsampl, datadir, dataname): ...@@ -110,6 +106,8 @@ def main(device, fsampl, datadir, dataname):
print(f'{timestamp:.3f} {s}', *values, sep=' ', end='\033[0K\r') print(f'{timestamp:.3f} {s}', *values, sep=' ', end='\033[0K\r')
data.write(timestamp, *values) data.write(timestamp, *values)
print()
if __name__ == '__main__': if __name__ == '__main__':
main() main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment