Basler SCOUT LIGHT User Manual Page 50

  • Download
  • Add to my manuals
  • Print
  • Page
    / 166
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 49
Image Acquisition Control
42 Basler scout light
6.2.3 Acquiring Images by Applying a Series of
Software Triggers
You can set the camera to react to multiple applications of the software trigger and then apply a
series of software triggers to acquire images. To do so, follow this sequence:
1. Access the camera’s API and set the exposure time parameter for your desired exposure time.
2. Set the value of the camera’s Acquisition Mode parameter to Continuous.
3. Execute an Acquisition Start command. This prepares the camera to react to software triggers.
4. When you are ready to begin an image acquisition, execute a Trigger Software command.
5. Image acquisition will start and exposure will continue for the length of time you specified in
step 1.
6. At the end of the specified exposure time, readout and transmission of the acquired image will
take place.
7. To acquire another image, go to step 4.
8. Execute an Acquisition Stop command. The camera will no longer react to software triggers.
If you are acquiring images using a series of software triggers, you must avoid acquiring images at
a rate that exceeds the maximum allowed with the current camera settings. You can use the
Acquisition Status feature to determine when the camera is ready to be triggered for the next image
acquisition.
You should also be aware that if the Acquisition Frame Rate Abs parameter is enabled, it will
influence the rate at which the Trigger Software command can be applied:
If the Acquisition Frame Rate Abs parameter is set to a value less than the maximum allowed,
you can trigger acquisition at any rate up to the set value.
If the Acquisition Frame Rate Abs parameter is set to a value greater than the maximum
allowed, you can trigger acquisition at any rate up to the maximum allowed image acquisition
rate with the current camera settings.
You can set the exposure time and the Acquisition Mode parameter values from within your
application software by using the pylon API. You can also execute the Acquisition Start and Trigger
Software commands. The following code snippets illustrate using the API to set the parameter
values and execute the commands:
// issuing software trigger commands
Camera.ExposureTimeRaw.SetValue( 200 );
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// prepare for image acquisition here
Camera.AcquisitionStart.Execute( );
while ( ! finished )
{
Camera.TriggerSoftware.Execute( );
// retrieve acquired image here
}
Camera.AcquisitionStop.Execute( );
// how to set and test the Acquisition Frame Rate
Page view 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 165 166

Comments to this Manuals

No comments