Operator ActionCommand

Operator Library: Hardware Platform

Operator Action Command 向固件发送 Action Command 触发信号。 收到此触发信号后,固件将向 GigE Vision 相机发送预配置的 Action Command。

当检测到其输入端口出现上升沿时,该 operator 会发出触发信号。 该 operator 可确保触发信号具有至少三个时钟周期的脉冲宽度。 这可确保固件检测到触发信号。

每个相机通道可使用一个 Action Command。 最多可提供四个 Action Command 类型的资源。 在一个设计中最多可以使用四个 Action Command operator。 Action Command 的索引号与所连接相机端口的索引号相同。

相机每收到一个 Action Command,就会返回一个 Action Command 确认数据包。

该 operator 提供了一个读取参数 PendingActionCmdCount,用于显示 Counter PendingActionCmdCount 的状态: 一旦 operator Action Command 向固件发送触发信号, Counter PendingActionCmdCount 就会增加。 一旦接收相机发送确认数据包,Counter PendingActionCmdCount 就会减少。 该 Counter 具有防溢出和防下溢保护: 达到最大值时,将保持最大值。 当 Counter 的值已经为零时,将不再继续递减。

Operator Action Command 仅是一个触发 operator。 Action Command 的内容(功能)由软件定义。

固件在接收到来自 Action Command operator 的 Action Command 触发信号的上升沿时发送 Action Command。

固件向相机发送 Action Command 的固定延迟为 2000 ns +/- 16 ns。 这意味着,固件检测到 Action Command 触发信号上升沿与固件实际发送 Action Command 之间的时间间隔始终为 2000 ns +/- 16 ns。

[Caution] 在采集期间保持发射器通道上的软件数据包较小

固件与相机之间的发射器通道用于发送软件数据包以及 Action Command 数据包。 为确保能够保持固定延迟,请确保在采集期间软件数据包的有效负载大小不超过约 100 Byte。

[Caution] 触发信号之间需要至少 2000 ns 的间隔

确保 operator Action Command 发送两个 Action Command 触发信号(背靠背触发信号)之间的时间间隔至少为 2000 ns。

适用于以下硬件平台
microEnable IV VQ4-GE
microEnable IV VQ4-GPoE

I/O Property

Property 值
Operator Type M
Input Link Signal Input Link I, Signal Input

Supported Link Format

Link Parameter Input Link Signal Input Link I
Bit Width 1
Arithmetic unsigned
Parallelism 1
Kernel Columns 1
Kernel Rows 1
Img Protocol VALT_SIGNAL
Color Format VAF_GRAY
Color Flavor FL_NONE
Max. Img Width any
Max. Img Height any

参数

PendingActionCmdCount
键入 动态只读参数
默认
范围 [0; 65535]

参数 PendingActionCmdCount 用于显示 Counter PendingActionCmdCount 的状态: 一旦 operator Action Command 向固件发送触发信号, Counter PendingActionCmdCount 就会增加。 一旦接收相机发送确认数据包, Counter PendingActionCmdCount 就会减少。

该 Counter 具有防溢出和防下溢保护: 达到最大值时,将保持最大值。 当 Counter 的值已经为零时,将不再继续递减。