Describe the Issue
When using Basler cameras, it's possible to access the serial number of the camera either through:
device_info.module.serial_number
device_info.property_dict.serial_number
However, when using a Daheng camera (e.g. ME2P-900-13GC-P or MER2-503-23GC-P), these variables have the following values:
device_info.module.serial_number: GenTL exception: Requested operation not implemented. (Message from the source: {-1003}{GetInfo:line[456]}{TLError:INFO ID 7 is out of range}) (ID: -1003)
device_info.property_dict.serial_number: None
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:
[X] Yes
[ ] No
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.
Describe the Issue When using Basler cameras, it's possible to access the serial number of the camera either through:
device_info.module.serial_number
device_info.property_dict.serial_number
However, when using a Daheng camera (e.g.
ME2P-900-13GC-P
orMER2-503-23GC-P
), these variables have the following values:device_info.module.serial_number
:GenTL exception: Requested operation not implemented. (Message from the source: {-1003}{GetInfo:line[456]}{TLError:INFO ID 7 is out of range}) (ID: -1003)
device_info.property_dict.serial_number
:None
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
ordevice_info.property_dict
variables.Configuration
Reproducibility
This phenomenon can be stably reproduced:
Actions You Have Taken