AW00123402000 Features
Basler ace USB 3.0 231
8.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:
Device Vendor Name (read only) - contains the camera vendor’s name.
Device Model Name (read only) - contains the model name of the camera.
Device Manufacturer Info (read only) - can contain some information about the camera
manufacturer. This string usually indicates "none".
Device Version (read only) - contains the device version number for the camera.
Device Firmware Version (read only) - contains the version of the firmware in the camera.
Device ID (read only) - contains the serial number of the camera.
Device User ID (read / write) - is used to assign a user defined name to a device. This name
will be displayed in the Basler pylon Viewer and the Basler pylon USB Configurator. The name
will also be visible in the "friendly name" field of the device information objects returned by
pylon’s device enumeration procedure.
Device Scan Type (read only) - contains the scan type of the camera, for example, area scan.
Sensor Width (read only) - contains the physical width of the sensor in pixels.
Sensor Height (read only) - contains the physical height of the sensor in pixels.
Max Width (read only) - Indicates the camera’s maximum region of interest (ROI) width setting
for the current OffsetX settings.
Max Height (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 Device
User ID 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 write the Device User ID:
// Read the Device Vendor Name parameter
GenICam::gcstring s = camera.DeviceVendorName.GetValue();
// Read the Device Model Name parameter
GenICam::gcstring s = camera.DeviceModelName.GetValue();
// Read the Device Manufacturer Info parameter
GenICam::gcstring s = camera.DeviceManufacturerInfo.GetValue();
// Read the Device Version parameter
GenICam::gcstring s = camera.DeviceVersion.GetValue();
// Read the Device Firmware Version parameter