跳转到内容

Basler Vision Connector Messaging: Starting Image Streaming#

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.

With the following command you can initiate image streaming for a specific camera. When you activate it, continuous streaming publishes images to the streaming topic. For triggered image acquisition, the Basler Vision Connector sends images based on trigger activations configured in the parameters section.

JSON Payload#

Field Optional 键入 描述
TransactionID String Transaction identification
操作 String Method called. Fixed value: StartStreaming
DeviceID String Device identification
{
    "TransactionID": "12341263412635465",
    "Action": "StartStreaming",
    "DeviceID": "548451887"
}

Response Object#

Field Optional 键入 描述
TransactionID String Transaction identification
ReturnCode Integer (32-bit unsigned) Message code following Message Codes
消息 String Response message
{
    "TransactionID": "12341263412635465",
    "ReturnCode": 0,
    "Message": "Stream started."
}