Sample Program; Example Firegrab - AVT Pike Technical Manual

Table of Contents

Advertisement

Configuration of the camera
...
// Set Videoformat
if(Result==FCE_NOERROR)
Result= Camera.SetParameter(FGP_IMAGEFORMAT,MAKEIMAGEFORMAT(RES_640_480,
CM_Y8, FR_15));
// Set external Trigger
if(Result==FCE_NOERROR)
Result= Camera.SetParameter(FGP_TRIGGER,MAKETRIGGER(1,0,0,0,0));
// Start DMA logic
if(Result==FCE_NOERROR)
Result=Camera.OpenCapture();
// Start image device
if(Result==FCE_NOERROR)
Result=Camera.StartDevice();
...

Sample program

The following sample code in C/C++ shows how the register is set for video
mode/format, trigger mode etc. using the FireGrab and FireStack API.

Example FireGrab

PIKE Technical Manual V4.1.0
234

Advertisement

Table of Contents
loading

Table of Contents