Basler Vision Connector Messaging: Uploading the Camera Configuration
With the following message you can upload the camera configuration file to the camera to restore the camera setup. Downloading a configuration file is described in the Downloading the Camera Configuration topic.
JSON Payload
Field | Optional | 键入 | 描述 |
TransactionID | 是 | String | Transaction identification |
操作 | 无 | String | Method called. Fixed value: SetDeviceConfig |
DeviceID | 无 | String | Device identification |
FileContent | 无 | String | Base64 string of the configuration file, which contains the mime type prefix |
{
"TransactionID": "234423465465",
"Action": "SetDeviceConfig",
"DeviceID": "548451887",
"FileContent": "data:text/plain;base64,IyB7MDVEOEMyOTQtRjI5NS00Z[...]"
}
Response Object
Field | Optional | 键入 | 描述 |
TransactionID | 是 | String | Transaction identification |
ReturnCode | 无 | Integer (32-bit unsigned) | Message code following Message Codes |
消息 | 是 | String | Response message |
{
"TransactionID": "234423465465",
"ReturnCode": 0,
"Message": "Configuration loaded."
}