-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeasure.py
More file actions
61 lines (54 loc) · 3.38 KB
/
measure.py
File metadata and controls
61 lines (54 loc) · 3.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from autolab import Autolab
autolab_conf = dict(basep = r"C:\Program Files\Metrohm Autolab\Autolab SDK 1.11",
procp = r"C:\Users\Helge\OneDrive\Documents\git\auro-master\auro-master\conf\echemprocedures",
hwsetupf = r"C:\ProgramData\Metrohm Autolab\12.0\HardwareSetup.AUT88172.xml",
micsetupf = r"C:\Program Files\Metrohm Autolab\Autolab SDK 1.11\Hardware Setup Files\Adk.bin",
proceuduresd = {'cp': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\CP.nox',
'ca': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\CA.nox',
'cv': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\CV.nox',
'eis': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\EIS.nox',
'ocp': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\OCP.nox',
'on': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\ON.nox',
'off': r'C:\\Users\\Helge\\OneDrive\\Documents\\git\\auro-master\\auro-master\\conf\\echemprocedures\\OFF.nox'})
a = Autolab(autolab_conf)
conf_ca = {'procedure': 'ca',
'setpoints': {'applypotential': {'Setpoint value': 0.01},
'recordsignal': {'Duration': 10}},
'plot': 'tCV',
'onoffafter': 'off',
'safepath': r'C:\Users\Helge\OneDrive\Documents\git\auro-master\auro-master\temp',
'filename': 'ca.nox',
'parseinstructions': ['recordsignal']}
a.performMeasurement(conf_ca)
conf_cp = {'procedure': 'cp',
'setpoints': {'applycurrent': {'Setpoint value': 10**-4},
'recordsignal': {'Duration': 10}},
'plot': 'tCV',
'onoffafter': 'off',
'safepath': r'C:\Users\Helge\OneDrive\Documents\git\auro-master\auro-master\temp',
'filename': 'cp.nox',
'parseinstructions': ['recordsignal']}
a.performMeasurement(conf_cp)
conf_cv = {'procedure': 'cv',
'setpoints': {
'FHSetSetpointPotential': {'Setpoint value':0},
'FHWait': {'Time':2},
'CVLinearScanAdc164': {'StartValue': 0.0,
'UpperVertex': 0.5,
'LowerVertex': -0.5,
'NumberOfStopCrossings': 2,
'ScanRate': 0.1}},
'plot': 'tCV',
'onoffafter': 'off',
'safepath': r'C:\Users\Helge\OneDrive\Documents\Engineering\autolab\data',
'filename': 'cv.nox',
'parseinstructions': ['CVLinearScanAdc164']}
a.performMeasurement(conf_cv)
conf_eis = {'procedure': 'eis',
'setpoints': {'FHSetSetpointPotential': {'Setpoint value': 0.01}},
'plot': 'impedance',
'onoffafter': 'off',
'safepath': r"C:\Users\Helge\OneDrive\Documents\git\auro-master\auro-master\temp",
'filename': 'eis.nox',
'parseinstructions': ['FIAMeasPotentiostatic']}
a.performMeasurement(conf_eis)