Srinidhi Kuntaegowdanahalli
2015-09-08 00:58:54 UTC
Hi:
I am new to python and I am using pyDAQFlex to interface with an USB DAQ
from Measurement Computing.
pyDAQFlex uses pyUSB. I have installed "libusb-win32-filter-bin-0.1.12.1"
and I am able to see my DAQ through the GUI which pops up after
installation. When I run the test code for pyDAQFlex, I get the following
error:
File "C:\Python25\lib\site-packages\daqflex\devices.py", line 234, in
__get_in
terface
alternate_setting = usb.control.get_interface(self.dev, intf_number)
File "build\bdist.win32\egg\usb\control.py", line 244, in get_interface
File "build\bdist.win32\egg\usb\core.py", line 971, in ctrl_transfer
File "build\bdist.win32\egg\usb\backend\libusb0.py", line 528, in
ctrl_transfe
r
File "build\bdist.win32\egg\usb\backend\libusb0.py", line 380, in _check
*usb.core.USBError: [Errno None] usb_control_msg: sending control message
failed,*
* win error: The request is not supported.*
The last line seems to indicate that this is an issue with pyUSB rather
than the DAQflex module.
Any thoughts would be helpful.
Thanks
Sk
I am new to python and I am using pyDAQFlex to interface with an USB DAQ
from Measurement Computing.
pyDAQFlex uses pyUSB. I have installed "libusb-win32-filter-bin-0.1.12.1"
and I am able to see my DAQ through the GUI which pops up after
installation. When I run the test code for pyDAQFlex, I get the following
error:
File "C:\Python25\lib\site-packages\daqflex\devices.py", line 234, in
__get_in
terface
alternate_setting = usb.control.get_interface(self.dev, intf_number)
File "build\bdist.win32\egg\usb\control.py", line 244, in get_interface
File "build\bdist.win32\egg\usb\core.py", line 971, in ctrl_transfer
File "build\bdist.win32\egg\usb\backend\libusb0.py", line 528, in
ctrl_transfe
r
File "build\bdist.win32\egg\usb\backend\libusb0.py", line 380, in _check
*usb.core.USBError: [Errno None] usb_control_msg: sending control message
failed,*
* win error: The request is not supported.*
The last line seems to indicate that this is an issue with pyUSB rather
than the DAQflex module.
Any thoughts would be helpful.
Thanks
Sk