This website is being translated through machine translation by a third-party service. Basler does not warrant the accuracy, reliability or timeliness of any information translated by this system and will not accept liability for loss or damage incurred as a result. Content that has not yet been translated appears in English. Switch to English version
Basler Vision Connector Messaging: Retrieving Camera Parameter List#
With the following message, you can request a list of available parameters.
The GetParameters command is allocated to one of the following node maps:
If no node map is defined, the @CameraDevice default node map is used. This node map represents the camera parameters. All other commands only operate on the @CameraDevice default node map.
Display name of the parameter for the user interface
Type
No
String
Parameter value type. Possible values: String, Integer, Float, Enumeration, Boolean, Command
Value
Yes
String/ Integer (64-bit signed)/ Float/ Bool
Currently defined value. For enumerations, the type of value must be a string. This parameter object isn't available if Type is Command or Readable is False.
IntValue
Yes
Integer (64-bit signed)
On enumerations, it's the integer defined.
Readable
No
Boolean
Flag indicating whether the parameter can be read. The readable flag depends on the current camera state.
Writable
No
Boolean
Flag indicating whether the parameter can be written. The writable flag depends on the current camera state.
Minimum
Yes
Integer (64-bit signed)/ Float
Minimum allowed value for numeric type parameters
Maximum
Yes
Integer (64-bit signed)/ Float
Maximum allowed value for numeric type parameters
Increment
Yes
Integer (64-bit signed)/ Float
Allowed increment for the parameter
Representation
Yes
String
Information about how this parameter should be represented in a user interface. This is only available for integer and float parameters. Possible values: Linear, Logarithmic, PureNumber, Boolean, HexNumber, IPV4Address, MACAddress
Alias
Yes
String
Name of an alias parameter. An alias parameter represents the same functionality, but in a different form. For example, a float parameter could have an integer parameter as an alias.
EnumEntries
Yes
Enum Entries Array
Array containing the entries available for the parameter
Display name of the enum entry for the user interface
Value
No
String
Parameter value that needs to be set
IntValue
No
Integer (64-bit signed)
Integer value of the enum entry
Description
Yes
String
Enum entry description
{"TransactionID":"2345645","ReturnCode":0,"Message":"Parameters read successfully","ParameterList":[{"Name":"@CameraDevice/Width","DisplayName":"Width","Type":"Integer","Value":1024,"Writable":true,"Minimum":1,"Maximum":4096,"Increment":1,"Representation":"Linear","Alias":"@CameraDevice/ImageWidth"},{"Name":"PixelFormat","DisplayName":"Pixel Format","Type":"Enumeration","Value":"Mono8","IntValue":17301505,"Writable":true,"EnumEntries":[{"DisplayName":"Mono 8","Value":"Mono8","IntValue":17301505,"Description":"This enumeration value sets the pixel format to Mono 8."},{"DisplayName":"Mono 10","Value":"Mono10","IntValue":17825795,"Description":"This enumeration value sets the pixel format to Mono 10."},{"DisplayName":"Mono 12","Value":"Mono12","IntValue":17825797,"Description":"This enumeration value sets the pixel format to Mono 12."},{"DisplayName":"Mono 16","Value":"Mono16","IntValue":17825799,"Description":"This enumeration value sets the pixel format to Mono 16."}]}]}