
Acquisition Control AW00118501000
50 Basler racer Camera Link
// Set for the timed exposure mode
Camera.ExposureMode.SetValue( ExposureMode_Timed );
// Set the exposure time
Camera.ExposureTimeAbs.SetValue( 300 );
while ( ! finished )
{
// Execute a trigger software command to apply a line start
// trigger signal to the camera
Camera.TriggerSoftware.Execute( );
// Retrieve acquired line here
}
// Note: as long as the Trigger Selector is set to LineStart, executing
// a Trigger Software command will apply a software line start trigger
// signal to the camera
The following code snippet illustrates using the API to check the acquisition status:
// Set the acquisition status selector
Camera.AcquisitionStatusSelector.SetValue
( AcquisitionStatusSelector_LineTriggerWait );
// Read the acquisition status
bool IsWaitingForLineTrigger = Camera.AcquisitionStatus.GetValue();
You can also use the Basler pylon Viewer application to easily set the parameters.
For more information about the pylon API and the pylon Viewer, see Section 3.1 on page 15.
Comentarios a estos manuales