Cognex Vpro Image Record


/ Published in: C#
Save to your folder(s)

Simple record that the content is a Image.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.