All Basler cameras mentioned in this documentation provide the following device information parameters:

Parameter Name

Access (R = read-only, RW = read / write)

Description

DeviceFirmwareVersion

R

The camera's firmware version number.

DeviceManufacturerInfo

R

The camera's manufacturer name. Usually contains an empty string.

DeviceModelName

R

The camera's model name, e.g., acA3800-14um.

DeviceSerialNumber

R

The camera's serial number.

DeviceUserID

RW

Used to assign a user-defined name to a camera. The name is displayed in the Basler pylon Viewer and the Basler pylon USB Configurator. The name is also visible in the "friendly name" field of the device information objects returned by pylon's device enumeration procedure.

Depending on your camera model, the following additional device information parameters are available:

Parameter Name

Access (R = read-only, RW = read / write)

Description

DeviceFamilyName

R

The identifier of the product family of the device, e.g., "Basler ace 2"

DeviceIndicatorMode

RW

Allows you to set the behavior of the camera's status LED. To turn the status LED on, set the parameter to Active. To turn the status LED off, set the parameter to Inactive. To turn the status LED off unless an error occurs, set the parameter to ErrorStatus.

DeviceLinkCurrentThroughput

R

The actual bandwidth currently used for data transmission in bytes per second.

DeviceLinkSelector

RW

Allows you to select the link for data transmission. The parameter is preset to 0. Don't change this parameter.

DeviceLinkSpeed

R

The bandwidth negotiated on the specified link in bytes per second.

DeviceLinkThroughputLimit

RW

Specifies the maximum available bandwidth for data transmission in bytes per second. To enable the limit, set the DeviceLinkThroughputLimitMode to On.On GigE cameras, the camera automatically adjusts the inter-packet delay to set the bandwidth to the specified limit.

DeviceLinkThroughputLimitMode

RW / R

Allows you to limit the maximum available bandwidth for data transmission. On some cameras, this parameter is read-only. If not, set the parameter to On to enable the limit. The maximum bandwidth is limited to the DeviceLinkThroughputLimit parameter value. Note that the actual bandwidth used for data transmission may be lower than the DeviceLinkThroughputLimit parameter value.

// Example: Getting some of the camera's device information parameters// Get the camera's vendor nameString_ts=camera.DeviceVendorName.GetValue();// Get the camera's firmware versionString_ts=camera.DeviceFirmwareVersion.GetValue();// Get the camera's model nameString_ts=camera.DeviceModelName.GetValue();// Get the width of the camera's sensorint64_ti=camera.SensorWidth.GetValue();

C++ (Generic)

INodeMap&nodemap=camera.GetNodeMap();// Example: Getting some of the camera's device information parameters// Get the camera's vendor nameString_ts=CStringPtr(nodemap.GetNode("DeviceVendorName"))->GetValue();// Get the camera's firmware versions=CStringPtr(nodemap.GetNode("DeviceFirmwareVersion"))->GetValue();// Get the camera's model names=CStringPtr(nodemap.GetNode("DeviceModelName"))->GetValue();// Get the width of the camera's sensorint64_ti=CIntegerPtr(nodemap.GetNode("SensorWidth"))->GetValue();

C++ (Generic, v5.2+)

INodeMap&nodemap=camera.GetNodeMap();// Example: Getting some of the camera's device information parameters// Get the camera's vendor nameString_ts=CStringParameter(nodemap,"DeviceVendorName").GetValue();// Get the camera's firmware versions=CStringParameter(nodemap,"DeviceFirmwareVersion").GetValue();// Get the camera's model names=CStringParameter(nodemap,"DeviceModelName").GetValue();// Get the width of the camera's sensorint64_ti=CIntegerParameter(nodemap,"SensorWidth").GetValue();

C#

// Example: Getting some of the camera's device information parameters// Get the camera's vendor namestrings=camera.Parameters[PLCamera.DeviceVendorName].GetValue();// Get the camera's firmware versions=camera.Parameters[PLCamera.DeviceFirmwareVersion].GetValue();// Get the camera's model names=camera.Parameters[PLCamera.DeviceModelName].GetValue();// Get the width of the camera's sensorInt64i=camera.Parameters[PLCamera.SensorWidth].GetValue();

C.NET

// Example: Getting some of the camera's device information parameters// Get the camera's vendor namestrings=Pylon.DeviceFeatureToString(hdev,"DeviceVendorName");// Get the camera's firmware versions=Pylon.DeviceFeatureToString(hdev,"DeviceFirmwareVersion");// Get the camera's model names=Pylon.DeviceFeatureToString(hdev,"DeviceModelName");// Get the width of the camera's sensorInt64i=Pylon.DeviceGetIntegerFeature(hdev,"SensorWidth");

C (Generic)

/* Macro to check for errors */#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)GENAPIC_RESULTerrRes=GENAPI_E_OK;/* Return value of pylon methods */char*s;size_tlen=0;=null;=null;int64_ti=0;/* Example: Getting some of the camera's device information parameters *//* Get the camera's vendor name */errRes=PylonDeviceFeatureToString(hdev,"DeviceVendorName",NULL,&len);s=(char*)alloca(len);errRes=PylonDeviceFeatureToString(hdev,"DeviceVendorName",s,&len);CHECK(errRes);/* Get the camera's firmware version */errRes=PylonDeviceFeatureToString(hdev,"DeviceFirmwareVersion",NULL,&len);s=(char*)alloca(len);errRes=PylonDeviceFeatureToString(hdev,"DeviceFirmwareVersion",s,&len);CHECK(errRes);/* Get the camera's model name */errRes=PylonDeviceFeatureToString(hdev,"DeviceModelName",NULL,&len);s=(char*)alloca(len);errRes=PylonDeviceFeatureToString(hdev,"DeviceModelName",s,&len);CHECK(errRes);/* Get the width of the camera's sensor */errRes=PylonDeviceGetIntegerFeature(hdev,"SensorWidth",&i);CHECK(errRes);

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. Switch to English version

This site uses cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. OK