genicam / harvesters

Image Acquisition Library for GenICam-based Machine Vision System
Apache License 2.0
501 stars 86 forks source link

Camera serial number not retrievable via device_info.module or device_info.property_dict for Daheng cameras #412

Open JeremyKeusters opened 1 year ago

JeremyKeusters commented 1 year ago

Describe the Issue When using Basler cameras, it's possible to access the serial number of the camera either through:

However, when using a Daheng camera (e.g. ME2P-900-13GC-P or MER2-503-23GC-P), these variables have the following values:

The only way of getting the value seems to be by going into device_info.parent.node_map.DeviceSerialNumber.value.

Sample Code I can show a piece of code that demonstrates the reported phenomenon:

If yes, please provide a sample code: -> Can provide if really necessary

Expected Behavior I expected to be able to retrieve the camera serial number through the device_info.module or device_info.property_dict variables.

Configuration

Reproducibility

This phenomenon can be stably reproduced:

Actions You Have Taken