跳转到内容

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."
}