辰华宏命令(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. 【白话设计模式八】命令模式(Command)

    为什么80%的码农都做不了架构师?>>>    #0 系列目录# 白话设计模式 工厂模式 单例模式 [白话设计模式一]简单工厂模式(Simple Factory) [白话设计模式二] ...

  2. 深入浅出话命令(Command)-笔记(-)

    深入浅出话命令(Command)-笔记(-) 一 基本概念 命令的基本元素: 命令(Command):实现了ICommand接口的类,平常使用最多的是RoutedCommand类. 命令源(Comma ...

  3. 设计模式:命令模式(Command Pattern)

    命令模式(Command Pattern): 在软件设计中,我们经常需要向某些对象发送请求,但是并不知道请求的接受者是谁,也不知道请求的操作是哪个. 我们只需在程序运行时指定具体的请求接受者即可,此时 ...

  4. Java设计模式-命令模式Command

    定义 将来自客户端的请求传入一个对象,从而使你可用不同的请求对客户进行参数化.用于"行为请求者"与"行为实现者"解耦,可实现二者之间的松耦合,以便适应变化.分离 ...

  5. c++命令模式command

    c++命令模式command 概念 角色和职责 案例 概念 Command模式也叫命令模式 ,是行为设计模式的一种.Command模式通过被称为 Command的类封装了对目标对象的调用行为以及调用参 ...

  6. 设计模式 - 命令模式(command pattern) 撤销(undo) 具体解释

    命令模式(command pattern) 撤销(undo) 详细解释 本文地址: http://blog.csdn.net/caroline_wendy 參考命令模式: http://blog.cs ...

  7. Sql plus命令报command not found的解决笔记

    Sql plus命令报command not found的解决笔记 1.问题描述 环境:linux9, Oracle10g. 在一台装有Oracle10g的Linux机器上,我运行sqlplus命令, ...

  8. 乐在其中设计模式(C#) - 命令模式(Command Pattern)

    原文:乐在其中设计模式(C#) - 命令模式(Command Pattern) [索引页] [源码下载] 乐在其中设计模式(C#) - 命令模式(Command Pattern) 作者:webabcd ...

  9. 命令模式 :Command(转自阿良.NET)

    命令(Command)模式属于对象的行为模式[GOF95].命令模式又称为行动(Action)模式或交易(Transaction)模式.命令模式把一个请求或者操作封装到一个对象中.命令模式允许系统使用 ...

最新文章

  1. ibatis 配置参数解析
  2. win8.1下无法运行vc++6.0的解决方法
  3. SpringBoot笔记(二)
  4. html dom对象常用事件,HTML Dom Event对象onkeydown事件
  5. nlp论文-《Neural Machine Translation by Jointly Learning to Align and Translate》-基于联合学习对齐和翻译的神经机器翻译(二)
  6. 各种触发器的特性方程_薛定谔方程,究竟神奇在哪里?
  7. js调用本地js文件(亲测)
  8. javascript获取Select下拉框的值
  9. bash中正则表达式
  10. 那个代工 iPhone 的富士康投了 21 亿要做 AI 研发
  11. 如何创建ChromeApp
  12. 飞秋(FeiQ)常用问题解答
  13. 小米路由3刷华硕潘多拉固件教程及软件相关
  14. IIS 部署.NetCore
  15. openjudge666:放苹果
  16. mysql根据字长查询_MYSQL常用查命令
  17. 如何学好GIS,彻底领悟这几句话就够了!!!
  18. Mybatis框架Result Maps解析
  19. catia怎样倒2d_Catia Drafting平面图生成 3D 转2D教程.ppt
  20. TreeView控件

热门文章

  1. 操作系统--第一章 操作系统引论--习题答案
  2. SQL Server 练习题(初学)
  3. 物联网小项目智能家居(QT、MQTT、嵌入式开发板、Ubuntu)
  4. 基于openssl的EVP对称加密C语言单独实现
  5. 2018年计算机网络考研真题及解析
  6. 万字详解DevOps的前世今生,收藏!
  7. iOS的GCD、NSThread、NSOperation、锁、Runloop的介绍和使用
  8. 【zz】免费的午餐——编程利用Google日历API发短信、Email
  9. 小迪安全视频-学习笔记(收藏)
  10. 年终重磅盘点:2022计算机科学6大突破!破解量子加密、最快矩阵乘法等榜上有名...