跳转到内容

Basler Vision Connector Messaging: Saving the Camera Configuration#

With the GenICam protocol you can store parameter sets on the camera, and with the Basler Vision Connector you can save, load, and define the default user set to be used on camera restart.

After the camera has been parametrized, you can save the current parameters in a user set. To save the configuration, send the SaveUserSet message.

JSON Payload#

Field Optional 键入 描述
TransactionID String Transaction identification
操作 String Method called. Fixed value: SaveUserSet
DeviceID String Device identification
UserSet String/ Integer (64-bit signed) {Value} or {IntValue} of the User Set Object as defined in Retrieving Available User Sets
{
  "TransactionID": "489494",
  "Action": "SaveUserSet",
  "DeviceID": "548451842342387",
  "UserSet": "UserSet2"
}

Response Object#

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