
AW00011916000
Image Acquisition Control
Basler scout GigE
123
Section 9.5.2.2 on
page 123
includes more detailed information about applying a software frame
start trigger to the camera using Basler pylon.
For more information about exposure time parameters, see Section 9.7 on
page 141
.
For more information about determining the maximum allowed frame rate, see Section 9.13 on
page 167
and Section 9.14 on
page 171
.
9.5.2.2
Setting the Parameters Related to Software Frame Start
Triggering and Applying a Software Trigger Signal
You can set all of the parameters needed to perform software frame start triggering from within your
application software by using the Basler pylon API. The following code snippet illustrates using the
API to set the parameter values and to execute the commands related to software frame start
triggering with the camera set for continuous frame acquisition mode. In this example, the trigger
mode for the acquisition start trigger will be set to off:
// Set the acquisition mode to continuous frame
Camera.AcquisitionMode.SetValue( AcquisitionMode_Continuous );
// Select the acquisition start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_AcquisitionStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_Off );
// Disable the acquisition frame rate parameter (this will disable the camera’s
// internal frame rate control and allow you to control the frame rate with
// software frame start trigger signals within the limits imposed by other
// parameter settings).
Camera.AcquisitionFrameRateEnable.SetValue( false );
// Select the frame start trigger
Camera.TriggerSelector.SetValue( TriggerSelector_FrameStart );
// Set the mode for the selected trigger
Camera.TriggerMode.SetValue( TriggerMode_On );
// Set the source for the selected trigger
Camera.TriggerSource.SetValue ( TriggerSource_Software );
// Set for the timed exposure mode
Camera.ExposureMode.SetValue( ExposureMode_Timed );
// Set the exposure time
Camera.ExposureTimeAbs.SetValue( 3000 );
// Execute an acquisition start command to prepare for frame acquisition
Camera.AcquisitionStart.Execute( );
while ( ! finished )
{
// Execute a Trigger Software command to apply a frame start
// trigger signal to the camera
Camera.TriggerSoftware.Execute( );
// Retrieve acquired frame here
}
Camera.AcquisitionStop.Execute( );
Summary of Contents for scout GigE
Page 4: ......
Page 50: ...Specifications Requirements and Precautions AW00011916000 40 Basler scout GigE...
Page 52: ...Installation AW00011916000 42 Basler scout GigE...
Page 66: ...Basler Network Drivers and Parameters AW00011916000 56 Basler scout GigE...
Page 80: ...Network Related Camera Parameters and Managing Bandwidth AW00011916000 70 Basler scout GigE...
Page 184: ...Image Acquisition Control AW00011916000 174 Basler scout GigE...
Page 206: ...Color Creation and Enhancement AW00011916000 196 Basler scout GigE...
Page 232: ...Pixel Data Formats AW00011916000 222 Basler scout GigE...
Page 354: ...Chunk Features AW00011916000 344 Basler scout GigE...
Page 358: ...Troubleshooting and Support AW00011916000 348 Basler scout GigE...
Page 367: ...AW00011916000 Revision History Basler scout GigE 357...
Page 368: ...Revision History AW00011916000 358 Basler scout GigE...