Basler Vision Connector Messaging: Loading the UserSet 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.
To upload a configured UserSet
on the camera, you can send the LoadUserSet
message.
JSON Payload
Field | Optional | Type | Description |
TransactionID | Yes | String | Transaction identification |
Action | No | String | Method called. Fixed value: LoadUserSet |
DeviceID | No | String | Device identification |
UserSet | No | String/Integer (64-bit signed) | {Value} or {IntValue} of the User Set Object as defined in Retrieving Available User Sets |
{
"TransactionID": "23423423563456",
"Action": "LoadUserSet",
"DeviceID": "548451887",
"UserSet": "UserSet2"
}
Response Object
Field | Optional | Type | Description |
TransactionID | Yes | String | Transaction identification |
ReturnCode | No | Integer (32-bit unsigned) | Message code following Message Codes |
Message | Yes | String | Response message |
{
"TransactionID": "1232116",
"ReturnCode": 0,
"Message": "Userset loaded."
}