AW00089317000 Image Acquisition Control
Basler ace GigE 139
7.10.3 Acquisition Status Indicator
If a camera receives
a software acquisition start trigger signal when it is not in a "waiting for acquisition start
trigger" acquisition status, it will simply ignore the trigger signal and will generate an acquisition
start overtrigger event.
a software frame start trigger signal when it is not in a "waiting for frame start trigger"
acquisition status, it will simply ignore the trigger signal and will generate a frame start
overtrigger event.
The camera’s acquisition status indicator gives you the ability to check whether the camera is in a
"waiting for acquisition start trigger" acquisition status or in a "waiting for frame start trigger"
acquisition status.
If you check the acquisition status before you apply each software acquisition start trigger signal or
each software frame start trigger signal, you can avoid applying trigger signals to the camera that
will be ignored.
The acquisition status indicator is designed for use when you are using host control of image
acquisition, i.e., when you are using software acquisition start and frame start trigger signals.
1. Use the Acquisition Status Selector to select the Acquisition Trigger Wait status or the Frame
Trigger Wait status.
2. Read the value of the Acquisition Status parameter.
If the value is set to "false", the camera is not waiting for the trigger signal.
If the value is set to "true", the camera is waiting for the trigger signal.
You can check the acquisition status from within your application software by using the Basler pylon
API. The following code snippet illustrates using the API to check the acquisition status:
// Check the acquisition start trigger acquisition status
// Set the acquisition status selector
Camera.AcquisitionStatusSelector.SetValue
( AcquisitionStatusSelector_AcquisitionTriggerWait );
// Read the acquisition status
bool IsWaitingForAcquisitionTrigger =
Camera.AcquisitionStatus.GetValue();
// Check the frame start trigger acquisition status
// Set the acquisition status selector
Camera.AcquisitionStatusSelector.SetValue
( AcquisitionStatusSelector_FrameTriggerWait );
// Read the acquisition status
bool IsWaitingForFrameTrigger = Camera.AcquisitionStatus.GetValue();
To determine the acquisition status of the camera: