IO 分析器

Prev Next

IO Analyzer 允许您对相机的 IO 输入信号进行采样。如果输入信号有问题,例如帧触发器有问题,则可以使用 IO Analyzer 扫描信号。

设置和扫描 IO 分析器

  1. 连接摄像机的 IO。
  2. 启动相机并打开 GCT。

  1. 导航到 数字 IO 控制 和 IO 分析器 

  1. 将 Trigger Activation 设置为 Auto (默认)。
  2. 选择 Input Source。
  1. 要开始采样,请启用外部 Input Source,在本例中,Line1 处于 Encoder 模式。
  2. 按 Start sampling 的 Execute 按钮。
  3. 几秒钟后,您可以通过单击 Stop sampling 的 Execute 按钮来停止采样。

读出 IO Analyzer 数据

IO Analyzer 的数据存储在相机中,可以通过 Up/Download 对话框读出。 

  1. 导航到 工具 ,然后单击 Up-/Download

  1. Download: Device ---> PC 区域中, 在下拉菜单中选择 IO Analyzer Event File ,然后按 下载到
  1. 将文件存储在您的 PC 上,请使用 .csv 后缀。

分析 IO Analyzer 数据

IO 分析器的输出是一个 CSV 文件。您可以在 Excel 中读取,也可以使用以下 Python 脚本。 

Python 脚本的 Output 是一个包含信号和计算的平均频率的 Plot。 


Python 脚本 的输出

 

DisplayIOAnalyzerEvent.py -f YOUR_PATH\pathLog.csv

DisplayIOAnalyzerEvent.py -h
usage: DisplayIOAnalyzerEvent.py [-h] [-f F] [-s S] [-e E]

optional arguments:
  -h, --help  show this help message and exit
  -f F        -f This is the path to the io analyzer event file to display(Mandatory)
  -s S        -s This is the start time of the plot in us(Optional)
  -e E        -e This is the end time of the plot in us(Optional)