Features
AW00136902000
124
Basler dart BCON
11.14 Device Information Parameters
Each camera includes a set of device information parameters. These parameters provide some
basic information about the camera. The device information parameters include:
DeviceVendorName (read only) - contains the camera vendor’s name.
DeviceModelName (read only) - contains the model name of the camera.
DeviceManufacturerInfo (read only) - can contain some information about the camera
manufacturer. This string is usually empty.
DeviceVersion (read only) - contains the device version number for the camera.
DeviceFirmwareVersion (read only) - contains the version of the firmware in the camera.
DeviceSerialNumber (read only) - contains the serial number of the camera.
DeviceUserID (read / write) - is used to assign a user-defined name to a device. The name will
be visible in the "friendly name" field of the device information objects returned by pylon’s
device enumeration procedure.
DeviceScanType (read only) - contains the scan type of the camera, for example, area scan.
SensorWidth (read only) - contains the physical width of the sensor in pixels.
SensorHeight (read only) - contains the physical height of the sensor in pixels.
MaxWidth (read only) - Indicates the camera’s maximum region of interest (ROI) width setting
for the current OffsetX settings.
MaxHeight (read only) - Indicates the camera’s maximum region of interest (ROI) height
setting for the current OffsetY settings.
You can read the values for all of the device information parameters or set the value of the
DeviceUserID parameter from within your application software by using the Basler pylon API. The
following code snippets illustrate using the API to read the parameters or set the DeviceUserID
parameter:
// Read the DeviceVendorName parameter
String_t s = camera.DeviceVendorName.GetValue();
// Read the DeviceModelName parameter
String_t s = camera.DeviceModelName.GetValue();
// Read the DeviceManufacturerInfo parameter
String_t s = camera.DeviceManufacturerInfo.GetValue();
// Read the DeviceVersionparameter
String_t s = camera.DeviceVersion.GetValue();
// Read the DeviceFirmwareVersion parameter
String_t s = camera.DeviceFirmwareVersion.GetValue();
// Read the DeviceSerialNumber parameter
String_t s = camera.DeviceSerialNumber.GetValue();