Skip to content

Basler Vision Connector Messaging: Software Triggered Image Acquisition#

With the Basler Vision Connector you can control the image streaming by starting and stopping the image stream. The control doesn't affect any camera property, including the trigger definitions. If you want to change these camera properties, see the messages described in Setting Camera Quick Parameters.

Use this command when the camera is in software trigger operation. When you use this command, image acquisition is triggered as configured on the camera. Images are published on the image streaming topic.

For further information about triggering including hardware triggering, refer to the Triggered Image Acquisition topic of the camera documentation.

JSON Payload#

Field Optional Type Description
TransactionID Yes String Transaction identification
Action No String Method called. Fixed value: SoftwareTrigger
DeviceID No String Device identification
{
    "TransactionID": "2342546345",
    "Action": "SoftwareTrigger",
    "DeviceID": "548451887"
}

Response Object#

Field Optional Type Description
TransactionID Yes String Transaction identification
ReturnCode No Integer (32-bit unsigned) Message code following Message Codes
Message Yes String Response message
{
    "TransactionID": "2342546345",
    "ReturnCode": 0,
    "Message": "Trigger sent."
}