Allied Vision Technologies Pike Bedienerhandbuch Seite 249

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 332
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 248
Configuration of the camera
PIKE Technical Manual V4.0.0
249
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
// 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();
Seitenansicht 248
1 2 ... 244 245 246 247 248 249 250 251 252 253 254 ... 331 332

Kommentare zu diesen Handbüchern

Keine Kommentare