Posted By

gofast505 on 10/20/15


image Cognex Vpro Regord

Versions (?)

Cognex Vpro Image Record

 / Published in: C#

Simple record that the content is a Image.

  1. ICogRecord lRec = new Cognex.VisionPro.Implementation.CogRecord();
  2. lRec.Content = (CogImage8Grey) ltb.Outputs["ImageSubOut"].Value;
  3. lRec.ContentType = lRowImage.GetType(); //Different image but same type.
  4. lRec.Annotation = lRec.RecordKey = lRecAnno;

Report this snippet  

You need to login to post a comment.