Basler Vision Connector Messaging: Setting Camera Quick Parameters#
JSON Payload#
| Field | Optional | Type | Description |
|---|---|---|---|
| TransactionID | Yes | String | Transaction identification |
| Action | No | String | Method called. Fixed value: SetQuickParameters |
| DeviceID | No | String | Device identification |
| Width | Yes | Integer (64-bit signed)/ String | Image widtha |
| PixelFormat | Yes | Integer (64-bit signed) /String | Pixel formatab |
| Height | Yes | Integer (64-bit signed) /String | Image heighta |
| Gain | Yes | Float/ Integer (64-bit signed)/ String | Gaina. To activate automatic gain, use the Autostring. |
| ExposureTime | Yes | Float/ Integer (64-bit signed)/ String | Exposure time in microsecondsa. To activate automatic exposure, use the Autostring. |
-
Camera-dependent values, invalid values are listed in the returning error message.
-
GenICam standardized pixel format, complying with the GenICam Naming Convention as described in 4.35 of the GenICam_PFNC_2_4.pdf.
{
"TransactionID": "23456435",
"Action": "SetQuickParameters",
"DeviceID": "548451887",
"Width": 800,
"Height": 600,
"Gain": "Auto",
"PixelFormat": "Mono8",
"ExposureTime": 234.5
}
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 |