-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In [33]: import ftd2xx as ft
In [34]: ft.listDevices()
Out[34]: [b'AL05J8AO']
In [35]: ft.openEx('AL05J8AO', ft.ftd2xx.OPEN_BY_SERIAL_NUMBER)
---------------------------------------------------------------------------
DeviceError Traceback (most recent call last)
<ipython-input-35-13985c480db4> in <module>
----> 1 ft.openEx('AL05J8AO', ft.ftd2xx.OPEN_BY_SERIAL_NUMBER)
~/.dirty/3/ftd2xx/ftd2xx/ftd2xx.py in openEx(id_str, flags)
106 instance for it"""
107 h = _ft.FT_HANDLE()
--> 108 call_ft(_ft.FT_OpenEx, id_str, _ft.DWORD(flags), c.byref(h))
109 return FTD2XX(h)
110
~/.dirty/3/ftd2xx/ftd2xx/ftd2xx.py in call_ft(function, *args)
42 status = function(*args)
43 if status != _ft.FT_OK:
---> 44 raise DeviceError(status)
45
46 def listDevices(flags=0):
DeviceError: DEVICE_NOT_FOUND
In [36]: ft.createDeviceInfoList()
Out[36]: 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels