Project

General

Profile

Area Read

Sequence of API calls for area read
read back 58 rows by 512 columns

{
   int CameraHandle;
   short *lpData = new short[512*58];
   int RowStart = 0;
   int ColStart = 0;
   int NRows = 58;
   int NCols = 512;

    // Set the camera for a 10 ms exposure time  
    CLSetExposure(CameraHandle, 10);

   // Set ROI for area read
   CLSetCCDArea(CameraHandle, RowStart,ColStart, NRows, NCols);

   // Clear CCD once and start immediately start acquiring a single image
   CLClearCCD (CameraHandle, 1, 0);
   CLReadCCDArea(CameraHandle, (unsigned short  *) lpData, 1,0);

   //Wait for completion
   CLWaitCompletion(CameraHandle, -1);

   //Process Image Data (application software)
   ProcessImage(lpData);

}

Go to top
Add picture from clipboard (Maximum size: 1 GB)