genicam / harvesters_gui

Harvester-based GUI
Apache License 2.0
59 stars 25 forks source link

Harvester GUI crashes if the GenTL Producer doesn't support DEVICE_INFO_SERIAL_NUMBER. #9

Open kazunarikudo opened 6 years ago

kazunarikudo commented 6 years ago

Describe the bug Harvester GUI crashes if the GenTL Producer doesn't support DEVICE_INFO_SERIAL_NUMBER. Especially with GenTL standard version 1.3 compliant GenTL Producers.

To Reproduce Steps to reproduce the behavior:

  1. Launch Harvester GUI.
  2. Load a GenTL Producer that doesn't support DEVICE_INFO_SERIAL_NUMBER.
  3. You'll see Harvester GUI crashes throwing an exception.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Harvester GUI must not crash if the GenTL Producer doesn't support DEVICE_INFO_SERIAL_NUMBER.

Additional context None.