辰华宏命令(Macro Command)使用说明
1. 打开CHI测试程序,如下图所示,依次点击Control→Macro Command…
2. 出现 “Macro Command Box” 即 宏命令的代码编辑框
3. 将原有代码全部删除:
4. 编写自己的代码:
- 代码编写格式如下(新建文本文档粘贴以下代码修改即可);
- 每一行中的 # 后面的内容为该行代码的注释,#后面的内容不会运行;
- 对于自己的测试,每次测试时一般只需修改,打了三个感叹号!!! 提醒的那行的数值,根据注释,按照自己的需求删改即可;
- 如需进行新实验大改参数,可以查询辰华测试软件自带的Help帮助目录中的代码说明
- 嫌麻烦不想复制代码的话,我已经把粘贴好的文本文档放在网盘里了,自行下载修改即可:点击下载
除此行外以下灰框内的代码要全部复制不要遗漏(不要复制前面的行数)
folder: F:\YC\实验二\Co(OH)2\β-Co(OH)2-red-1 # 每次修改文件储存位置!!!
# EIS-1
tech: imp # select AC Impedance
eio # use open circuit potential (OCP) as init E;disabled after new init E is specified by ei
fh: 100000 # high frequency in Hz
fl: 0.01 # low frequency in Hz
amp: 0.005 # ac amplitude in V (half peak-to-peak)
qt: 2 # quiescent time before run in s
run
save=EIS-1-1
tsave=EIS-1-1
run
save=EIS-1-2
tsave=EIS-1-2
run
save=EIS-1-3
tsave=EIS-1-3
# Run CV
tech: cv # select Cyclic Voltammetry
ei: 0 # initial potential in V
eh: 0.6 # high limit of potential in V - {需改}!!!
el: 0 # low limit of potential in V
ef: 0 # final potential in V
pn: p # initial potential change direction: 'p' or 'n'
v: 0.005 # scan rate in V/s
cl: 20 # number of segments
si: 0.001 # sample interval in V
qt: 2 # quiescent time before run in s
sens: 1e-1 # sensitivity in A/V
autosens # automatic sensitivity if scan rate is below 0.01V/s
run
save=CV-005-01-10
tsave=CV-005-01-10
delay:180 #delay between commands
v: 0.0003 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-0003
tsave=CV-0003
v: 0.0005 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-0005
tsave=CV-0005
v: 0.0007 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-0007
tsave=CV-0007
v: 0.001 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-001
tsave=CV-001
v: 0.002 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-002
tsave=CV-002
v: 0.003 # scan rate in V/s
cl: 6 # number of segments
run
v: 0.003 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-003
tsave=CV-003
v: 0.005 # scan rate in V/s
run
save=CV-005
tsave=CV-005
v: 0.007 # scan rate in V/s
run
save=CV-007
tsave=CV-007
v: 0.010 # scan rate in V/s
run
save=CV-010
tsave=CV-010
v: 0.015 # scan rate in V/s
run
save=CV-015
tsave=CV-015
v: 0.020 # scan rate in V/s
run
save=CV-020
tsave=CV-020
v: 0.030 # scan rate in V/s
run
save=CV-030
tsave=CV-030
v: 0.040 # scan rate in V/s
run
save=CV-040
tsave=CV-040
v: 0.050 # scan rate in V/s
run
save=CV-050
tsave=CV-050
v: 0.070 # scan rate in V/s
run
save=CV-070
tsave=CV-070
v: 0.100 # scan rate in V/s
run
save=CV-100
tsave=CV-100
delay: 600 #delay between commands
# Run CP
tech: cp # select Chronopotentiometry
ic: 0.003584 # cathodic current in A - `{需改}!!!
ia: 0.003584 # anodic current in A - {需改}!!!
eh: 0.485 # high limit of potential in V - {需改}!!!
el: 0 # low limit of potential in V
tc: 10 # cathodic time in s
ta: 10 # anodic time in s
pn: n # first step current polarity: "p" or "n"
si: 0.1 # data storage interval in s
cl: 7 # number of segments
run
save=GCD-01
tsave=GCD-01
ic: 0.007168 # cathodic current in A - {需改}!!!
ia: 0.007168 # anodic current in A - {需改}!!!
run
save=GCD-02
tsave=GCD-02
ic: 0.010752 # cathodic current in A - {需改}!!!
ia: 0.010752 # anodic current in A - {需改}!!!
run
save=GCD-03
tsave=GCD-03
ic: 0.014336 # cathodic current in A - {需改}!!!
ia: 0.014336 # anodic current in A - {需改}!!!
run
save=GCD-04
tsave=GCD-04
ic: 0.01792 # cathodic current in A - {需改}!!!
ia: 0.01792 # anodic current in A - {需改}!!!
run
save=GCD-05
tsave=GCD-05
ic: 0.025088 # cathodic current in A - {需改}!!!
ia: 0.025088 # anodic current in A - {需改}!!!
run
save=GCD-07
tsave=GCD-07
ic: 0.03584 # cathodic current in A - {需改}!!!
ia: 0.03584 # anodic current in A - {需改}!!!
run
save=GCD-10
tsave=GCD-10
ic: 0.05376 # cathodic current in A - {需改}!!!
ia: 0.05376 # anodic current in A - {需改}!!!
run
save=GCD-15
tsave=GCD-15
ic: 0.07168 # cathodic current in A - {需改}!!!
ia: 0.07168 # anodic current in A - {需改}!!!
run
save=GCD-20
tsave=GCD-20
ic: 0.10752 # cathodic current in A - {需改}!!!
ia: 0.10752 # anodic current in A - {需改}!!!
run
save=GCD-30
tsave=GCD-30
ic: 0.14336 # cathodic current in A - {需改}!!!
ia: 0.14336 # anodic current in A - {需改}!!!
run
save=GCD-40
tsave=GCD-40
ic: 0.1792 # cathodic current in A - {需改}!!!
ia: 0.1792 # anodic current in A - {需改}!!!
run
save=GCD-50
tsave=GCD-50
delay: 600 #delay between commands
# Run EIS-2
tech: imp # select AC Impedance
eio # use open circuit potential (OCP) as init E;disabled after new init E is specified by ei
fh: 100000 # high frequency in Hz
fl: 0.01 # low frequency in Hz
amp: 0.005 # ac amplitude in V (half peak-to-peak)
qt: 2 # quiescent time before run in s
run
save=EIS-2-1
tsave=EIS-2-1
run
save=EIS-2-2
tsave=EIS-2-2
run
save=EIS-2-3
tsave=EIS-2-3
# Run CP-cycles
tech: cp # select Chronopotentiometry
ic: 0.025088 # cathodic current in A - {需改}!!!
ia: 0.025088 # anodic current in A - {需改}!!!
eh: 0.485 # high limit of potential in V - {需改}!!!
el: 0 # low limit of potential in V
tc: 10 # cathodic time in s
ta: 10 # anodic time in s
pn: n # first step current polarity: "p" or "n"
si: 0.1 # data storage interval in s
cl: 2201 # number of segments
run
save=GCD-07-0001-2201
tsave=GCD-07-0001-2201
delay: 600 #delay between commands
# Run EIS-3
tech: imp # select AC Impedance
eio # use open circuit potential (OCP) as init E;disabled after new init E is specified by ei
fh: 100000 # high frequency in Hz
fl: 0.01 # low frequency in Hz
amp: 0.005 # ac amplitude in V (half peak-to-peak)
qt: 2 # quiescent time before run in s
run
save=EIS-3-1
tsave=EIS-3-1
run
save=EIS-3-2
tsave=EIS-3-2
run
save=EIS-3-3
tsave=EIS-3-3
5. 复制自己的代码,右键粘贴至白框内:
6. 点击Test检查代码有没有错误,如下图出现“Macro test succeeded.”字样则说明代码无误:
7. 点击“Run Macro”运行即可:
8. 另外,点击“Save”可以保存mcr格式的文件,给文件命名并保存即可:
9. 下次可以点击“Read”读取此文件:
10. 点击“Help”可以查看关于关于宏命令功能的更多说明,以及更为详细的各种命令的使用方法,一般情况下未设置的一些项,测试时都按默认值运行,如需设置找到相应控制命令,添加相应参数即可:
辰华宏命令(Macro Command)使用说明
1. 打开CHI测试程序,如下图所示,依次点击Control→Macro Command…
2. 出现 “Macro Command Box” 即 宏命令的代码编辑框
3. 将原有代码全部删除:
4. 编写自己的代码:
- 代码编写格式如下(新建文本文档粘贴以下代码修改即可);
- 每一行中的 # 后面的内容为该行代码的注释,#后面的内容不会运行;
- 对于自己的测试,每次测试时一般只需修改,打了三个感叹号!!! 提醒的那行的数值,根据注释,按照自己的需求删改即可;
- 如需进行新实验大改参数,可以查询辰华测试软件自带的Help帮助目录中的代码说明
- 嫌麻烦不想复制代码的话,我已经把粘贴好的文本文档放在网盘里了,自行下载修改即可:点击下载
除此行外以下灰框内的代码要全部复制不要遗漏(不要复制前面的行数)
folder: F:\YC\实验二\Co(OH)2\β-Co(OH)2-red-1 # 每次修改文件储存位置!!!
# EIS-1
tech: imp # select AC Impedance
eio # use open circuit potential (OCP) as init E;disabled after new init E is specified by ei
fh: 100000 # high frequency in Hz
fl: 0.01 # low frequency in Hz
amp: 0.005 # ac amplitude in V (half peak-to-peak)
qt: 2 # quiescent time before run in s
run
save=EIS-1-1
tsave=EIS-1-1
run
save=EIS-1-2
tsave=EIS-1-2
run
save=EIS-1-3
tsave=EIS-1-3
# Run CV
tech: cv # select Cyclic Voltammetry
ei: 0 # initial potential in V
eh: 0.6 # high limit of potential in V - {需改}!!!
el: 0 # low limit of potential in V
ef: 0 # final potential in V
pn: p # initial potential change direction: 'p' or 'n'
v: 0.005 # scan rate in V/s
cl: 20 # number of segments
si: 0.001 # sample interval in V
qt: 2 # quiescent time before run in s
sens: 1e-1 # sensitivity in A/V
autosens # automatic sensitivity if scan rate is below 0.01V/s
run
save=CV-005-01-10
tsave=CV-005-01-10
delay:180 #delay between commands
v: 0.0003 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-0003
tsave=CV-0003
v: 0.0005 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-0005
tsave=CV-0005
v: 0.0007 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-0007
tsave=CV-0007
v: 0.001 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-001
tsave=CV-001
v: 0.002 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-002
tsave=CV-002
v: 0.003 # scan rate in V/s
cl: 6 # number of segments
run
v: 0.003 # scan rate in V/s
cl: 6 # number of segments
run
save=CV-003
tsave=CV-003
v: 0.005 # scan rate in V/s
run
save=CV-005
tsave=CV-005
v: 0.007 # scan rate in V/s
run
save=CV-007
tsave=CV-007
v: 0.010 # scan rate in V/s
run
save=CV-010
tsave=CV-010
v: 0.015 # scan rate in V/s
run
save=CV-015
tsave=CV-015
v: 0.020 # scan rate in V/s
run
save=CV-020
tsave=CV-020
v: 0.030 # scan rate in V/s
run
save=CV-030
tsave=CV-030
v: 0.040 # scan rate in V/s
run
save=CV-040
tsave=CV-040
v: 0.050 # scan rate in V/s
run
save=CV-050
tsave=CV-050
v: 0.070 # scan rate in V/s
run
save=CV-070
tsave=CV-070
v: 0.100 # scan rate in V/s
run
save=CV-100
tsave=CV-100
delay: 600 #delay between commands
# Run CP
tech: cp # select Chronopotentiometry
ic: 0.003584 # cathodic current in A - `{需改}!!!
ia: 0.003584 # anodic current in A - {需改}!!!
eh: 0.485 # high limit of potential in V - {需改}!!!
el: 0 # low limit of potential in V
tc: 10 # cathodic time in s
ta: 10 # anodic time in s
pn: n # first step current polarity: "p" or "n"
si: 0.1 # data storage interval in s
cl: 7 # number of segments
run
save=GCD-01
tsave=GCD-01
ic: 0.007168 # cathodic current in A - {需改}!!!
ia: 0.007168 # anodic current in A - {需改}!!!
run
save=GCD-02
tsave=GCD-02
ic: 0.010752 # cathodic current in A - {需改}!!!
ia: 0.010752 # anodic current in A - {需改}!!!
run
save=GCD-03
tsave=GCD-03
ic: 0.014336 # cathodic current in A - {需改}!!!
ia: 0.014336 # anodic current in A - {需改}!!!
run
save=GCD-04
tsave=GCD-04
ic: 0.01792 # cathodic current in A - {需改}!!!
ia: 0.01792 # anodic current in A - {需改}!!!
run
save=GCD-05
tsave=GCD-05
ic: 0.025088 # cathodic current in A - {需改}!!!
ia: 0.025088 # anodic current in A - {需改}!!!
run
save=GCD-07
tsave=GCD-07
ic: 0.03584 # cathodic current in A - {需改}!!!
ia: 0.03584 # anodic current in A - {需改}!!!
run
save=GCD-10
tsave=GCD-10
ic: 0.05376 # cathodic current in A - {需改}!!!
ia: 0.05376 # anodic current in A - {需改}!!!
run
save=GCD-15
tsave=GCD-15
ic: 0.07168 # cathodic current in A - {需改}!!!
ia: 0.07168 # anodic current in A - {需改}!!!
run
save=GCD-20
tsave=GCD-20
ic: 0.10752 # cathodic current in A - {需改}!!!
ia: 0.10752 # anodic current in A - {需改}!!!
run
save=GCD-30
tsave=GCD-30
ic: 0.14336 # cathodic current in A - {需改}!!!
ia: 0.14336 # anodic current in A - {需改}!!!
run
save=GCD-40
tsave=GCD-40
ic: 0.1792 # cathodic current in A - {需改}!!!
ia: 0.1792 # anodic current in A - {需改}!!!
run
save=GCD-50
tsave=GCD-50
delay: 600 #delay between commands
# Run EIS-2
tech: imp # select AC Impedance
eio # use open circuit potential (OCP) as init E;disabled after new init E is specified by ei
fh: 100000 # high frequency in Hz
fl: 0.01 # low frequency in Hz
amp: 0.005 # ac amplitude in V (half peak-to-peak)
qt: 2 # quiescent time before run in s
run
save=EIS-2-1
tsave=EIS-2-1
run
save=EIS-2-2
tsave=EIS-2-2
run
save=EIS-2-3
tsave=EIS-2-3
# Run CP-cycles
tech: cp # select Chronopotentiometry
ic: 0.025088 # cathodic current in A - {需改}!!!
ia: 0.025088 # anodic current in A - {需改}!!!
eh: 0.485 # high limit of potential in V - {需改}!!!
el: 0 # low limit of potential in V
tc: 10 # cathodic time in s
ta: 10 # anodic time in s
pn: n # first step current polarity: "p" or "n"
si: 0.1 # data storage interval in s
cl: 2201 # number of segments
run
save=GCD-07-0001-2201
tsave=GCD-07-0001-2201
delay: 600 #delay between commands
# Run EIS-3
tech: imp # select AC Impedance
eio # use open circuit potential (OCP) as init E;disabled after new init E is specified by ei
fh: 100000 # high frequency in Hz
fl: 0.01 # low frequency in Hz
amp: 0.005 # ac amplitude in V (half peak-to-peak)
qt: 2 # quiescent time before run in s
run
save=EIS-3-1
tsave=EIS-3-1
run
save=EIS-3-2
tsave=EIS-3-2
run
save=EIS-3-3
tsave=EIS-3-3
5. 复制自己的代码,右键粘贴至白框内:
6. 点击Test检查代码有没有错误,如下图出现“Macro test succeeded.”字样则说明代码无误:
7. 点击“Run Macro”运行即可:
8. 另外,点击“Save”可以保存mcr格式的文件,给文件命名并保存即可:
9. 下次可以点击“Read”读取此文件:
10. 点击“Help”可以查看关于关于宏命令功能的更多说明,以及更为详细的各种命令的使用方法,一般情况下未设置的一些项,测试时都按默认值运行,如需设置找到相应控制命令,添加相应参数即可: