Basler Vision Connector Messaging: Retrieving Available User Sets
The GenICam protocol allows you to store parameter sets on the camera. With the Basler Vision Connector you can save, load, and define the default user set to be used on camera restart.
With the following message, you can retrieve the available user sets on the camera.
JSON Payload
Field | Optional | タイプ | 説明 |
TransactionID | はい | String | Transaction identification |
アクション | いいえ | String | Method called. Fixed value: GetUserSets |
DeviceID | いいえ | String | Device identification |
{
"TransactionID": "1232116",
"Action": "GetUserSets",
"DeviceID": "12323454754"
}
Response Object
Field | Optional | タイプ | 説明 |
TransactionID | はい | String | Transaction identification |
ReturnCode | いいえ | Integer (32-bit unsigned) | Message code following Message Codes |
メッセージ | はい | String | Response message |
UserSetList | いいえ | User Set Object Array | Object containing the available parameter settings |
User Set Object
Field | Optional | タイプ | 説明 |
DisplayName | はい | String | Represents the name of the user set. |
値 | いいえ | String | Parameter value that needs to be used to set the user set value. |
IntValue | いいえ | Integer (64-bit signed) | Integer value of the user set |
説明 | はい | String | User set description |
{
"TransactionID": "12323454754",
"ReturnCode": 0,
"Message": "Userset retrieved.",
"UserSetList": [
{
"DisplayName": "Default User Set",
"Value": "Default",
"IntValue": 0,
"Description": "The default factory set can be loaded."
},
{
"DisplayName": "User Set 1",
"Value": "UserSet1",
"IntValue": 1,
"Description": "User set 1 can be saved, loaded, or configured."
},
{
"DisplayName": "User Set 2",
"Value": "UserSet2",
"IntValue": 2,
"Description": "User set 2 can be saved, loaded, or configured."
},
{
"DisplayName": "User Set 3",
"Value": "UserSet3",
"IntValue": 3,
"Description": "User set 3 can be saved, loaded, or configured."
}
]
}