Tool which acquires images using an acquisition fifo on a frame grabber.
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 53.0.0.0
对象用于创建
构造函数:
public CogAcqFifoTool Acq = new CogAcqFifoTool();
从VPP得到:(可以设定好参数放在VPP的工具中)
this.Acq = CogSerializer.LoadObjectFromFile(Application.StartupPath+"\Camera\Camera1.vpp") as CogAcqFifoTool;
这个最重要的就是得到图像。
public ICogImage OutputImage { get; }
设定参数:
public ICogAcqFifo Operator { get; set; }
确定判定是否错误
public override ICogRunStatus RunStatus { get; }