Skip to Main Content
Cognex Support Hub
LogoLogo

EtherInspect Access Camera IO Parameters During Excecution

Instructions on how to access camera IO parameters while the job is running

09/15/2024

Question

How do I access and control camera I/O parameters during program execution in Ether Inspect?

Answer

You can access the FIFO in the PreAcq and PostAcq scripts as Camera.Fifo

Ex: ICogGigEAccess gige = Camera.Fifo.FrameGrabber.OwnedGigEAccess;

Note: The helper functions for getting/setting features are not included in the PostAcq. The Camera reference is type ICameraConfig and the property only exists on the real object.

Therefore, you must cast it to CameraConfig first. For example: ((CameraConfig)Camera).Fifo 

Related Resources