User`s manual

Smart Features
BASLER A102
f 6-29
DRAFT
6.7.10 Trigger Flag and Trigger Counter
A102f cameras include a trigger flag and trigger counter feature. The trigger counter increments
by one each time an image capture is triggered regardless of whether the trigger is internal (one
shot or continuous shot commands) or is external (hardware or software trigger). Triggers that
occur when the camera is not ready are discarded and not counted. The trigger counter wraps to
zero after 65535 is reached.
If one or more triggers has been detected since the last time the Trigger Flag field was read, the
trigger flag is set to one. The flag self clears with each read access.
Writes to the Trigger Count or Trigger Flag fields are ignored.
The counter field or the flag field can be polled by your camera control software to detect the
receipt of a trigger signal by the camera. The camera control software can react synchronously to
each trigger signal received. By using the results of the polling to know when a trigger signal is
received by the camera, you can eliminate the need for a hard wired signal from the hardware
device that is issuing the trigger. Keep in mind that your degree of precision depends on your
polling frequency and the 1394 bus latency.
Control and Status Register for the Trigger Flag and Counter Feature
L
The trigger flag and trigger counter smart feature does not add information to the im-
age data stream and can be accessed even when the extended data stream feature
(see Section 6.7.1) is disabled.
The trigger flag and counter feature is always enabled regardless of the video format.
Name Trigger Flag and Counter
Address See “Determining the Address of Smart Features CSRs” on page 6-4.
CSR GUID 16C31A78 - 3F75 - 11D8 - 94EC - 00105A5BAE55
Position Field Bit Description
0 Presence Inq
(Read only)
[0] Presence of this feature
0: Not Available 1: Available
----- [1 ... 15] Reserved
Trigger Count
(Read only)
[16 ... 31] The trigger counter increments by one each time an im-
age capture is triggered. The counter is reset at power
on or when an initialize command is issued.
4 ----- [0 ... 30] Reserved
Trigger Flag
(Read only)
[31] The flag is set to 1 by each trigger. It is cleared by a read
access to this register.