Added: get_serial_device_list() which finds and lists all COM ports and their associated serial number of Boson which are attached
Added find_video_devices_win32() which lists all the FLIR Video devices and their ID for win32.
Changed the find_cameras() to return a string with all the video device id's listed as ascii numbers. -1 if none found
The code is changed to use these functions in stead of the find_serial_device().
find_video_device() uses the find_video_devices_win32() for win32 platform.
Only the first found device is actually used in the Boson() object.
To fully exploit the benefit of these new functions in Boson() class there need to be a bit of a rewrite in the rest of the class. This is likely to alter on the interfaces and is thus best done by the prime author to stick with the philosophy of the library-
The test_boson.py is also updated to test the new functions - it is however probably not the right way to do this. So update here is necessary.
The code is seriously lacking a feature to correlate which COM port is attached to which device ID.
Added: get_serial_device_list() which finds and lists all COM ports and their associated serial number of Boson which are attached Added find_video_devices_win32() which lists all the FLIR Video devices and their ID for win32. Changed the find_cameras() to return a string with all the video device id's listed as ascii numbers. -1 if none found
The code is changed to use these functions in stead of the find_serial_device(). find_video_device() uses the find_video_devices_win32() for win32 platform. Only the first found device is actually used in the Boson() object.
To fully exploit the benefit of these new functions in Boson() class there need to be a bit of a rewrite in the rest of the class. This is likely to alter on the interfaces and is thus best done by the prime author to stick with the philosophy of the library-
The test_boson.py is also updated to test the new functions - it is however probably not the right way to do this. So update here is necessary.
The code is seriously lacking a feature to correlate which COM port is attached to which device ID.