IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Most IDS Vision cameras support using a software command as trigger for image acquisition. This mode is often called software trigger.
The TriggerSoftware command is executed by a host software application and has to be transmitted to the camera. Depending on the traffic on the data interface, the transmission times between sending (host) and receiving the software command (camera) can jitter.
When the camera receives the software command, a single image is captured and transferred. During initialization time, trigger signals are ignored.
While exposure and read out are still active, the camera can typically not start a second acquisition unless it is able to handle overlapping triggers. The latter means, that the next exposure can start while the previous read out is still active.
In software trigger mode, the AcquisitionFrameRate turns to read-only access and returns the maximum trigger frequency. If triggers are sent faster and the camera is not ready to apply the trigger, the trigger is missed.
Fig. 71: Camera timing in software trigger mode
The timing diagram refers to global shutter sensors with sequential frames. With overlapping frames, the AcquisitionFrameRate increases and the time interval, until the next software trigger can be executed, gets smaller. With rolling shutters, the timing slightly differs. You find detailed timing diagrams for rolling shutters here: Signals and events from rolling shutter sensors |
Configuration
First make sure, you have chosen the AcquisitionMode "Continuous".
AcquisitionMode = Continuous;
Then activate the "ExposureStart" trigger.
TriggerSelector = ExposureStart;
TriggerMode = On;
As TriggerSource for the "ExposureStart" trigger, select "Software".
TriggerSource = Software;
Now the image acquisition is ready to be started. See Preparing image acquisition: create buffer and Starting and stopping image acquisition.
AcquisitionStart();
To trigger the capture of an image, execute the TriggerSoftware command.
TriggerSoftware();
Additional information
Camera operation |
|
---|---|
Camera feature reference |
|
IDS peak topics |
IDS peak: code examples