Skip to content

error while running example_linux_continous_read.py #34

@piotx

Description

@piotx

Hallo,

thanks for sharing your API.

I get an error, when running example_linux_continous_read.py

python example_linux_continous_read.py

Clearing FIFO and starting data transfer...
Stopping new transfers.
Snooze 1
Closing handle
Traceback (most recent call last):
File "example_linux_continous_read.py", line 68, in
scope.close_handle()
File "/usr/local/lib/python2.7/dist-packages/Python_Hantek_6022BE_Wrapper-0.0.2-py2.7.egg/PyHT6022/LibUsbScope.py", line 116, in close_handle
self.device_handle.close()
File "build/bdist.linux-x86_64/egg/usb1.py", line 1113, in close
File "build/bdist.linux-x86_64/egg/usb1.py", line 737, in cancel
libusb1.USBError: LIBUSB_ERROR_NOT_FOUND [-5]
Exception usb1.USBErrorNotFound: USBErrorNotFound() in <bound method Oscilloscope.del of <PyHT6022.LibUsbScope.Oscilloscope object at 0x7f616c3bc2d0>> ignored
Exception libusb1.USBError: USBError() in <bound method USBDeviceHandle.del of <usb1.USBDeviceHandle object at 0x7f6169323190>> ignored

So the device can not be accessed, from what I understand.. Any ideas how to solve the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions