Basler Vision Connector Messaging: Starting Image Streaming#
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 configurations defined via the camera parameters.
JSON Payload#
| Field | Optional | Type | Description |
|---|---|---|---|
| TransactionID | Yes | String | Transaction identification |
| Action | No | String | Method called. Fixed value: StartStreaming |
| DeviceID | No | String | Device identification |
| FrameCount | Yes | Integer | Number of frames to be streamed. Values less than 1 are invalid. If no frame count is provided, the camera streams continuously until you stop the streaming. |
| cstm_FormatConversion | Yes | String | The format into which the images will be converted after reception from the camera. The following options are available: If no format conversion is specified, the original camera image is forwarded as received from the camera. |
{
"TransactionID": "12341263412635465",
"Action": "StartStreaming",
"DeviceID": "548451887",
"FrameCount": 100,
"cstm_FormatConversion": "None"
}
Response Object#
| Field | Optional | Type | Description |
|---|---|---|---|
| TransactionID | Yes | String | Transaction identification |
| ReturnCode | No | Integer (32-bit unsigned) | Message code following Message Codes |
| Message | No | String | Response message |