couldn't connect to my ue9 using usb in linux platform NEED HELP | LabJack
 
Friday May 29th 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 51 of 56 products are in stock. More details.
Supply Chain: Minor impacts. More details.

couldn't connect to my ue9 using usb in linux platform NEED HELP

3 posts / 0 new
Last post
kevin21
kevin21's picture
couldn't connect to my ue9 using usb in linux platform NEED HELP

[email protected]-desktop:~/Desktop$ python

Python 2.7.12 (default, Nov 19 2016, 06:48:10) 

[GCC 5.4.0 20160609] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import ue9

>>> d = ue9.UE9()

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "build/bdist.linux-armv7l/egg/ue9.py", line 92, in __init__

    Args: firstFound, Open the first found UE9

  File "build/bdist.linux-armv7l/egg/ue9.py", line 111, in open

    Subnet = None, PortA = None, PortB = None, DHCPEnabled = None)

  File "build/bdist.linux-armv7l/egg/LabJackPython.py", line 607, in open

    

  File "build/bdist.linux-armv7l/egg/LabJackPython.py", line 1352, in openLabJack

    raise NullHandleException()

  File "build/bdist.linux-armv7l/egg/LabJackPython.py", line 1248, in _openLabJackUsingExodriver

    

LabJackPython.NullHandleException: Couldn't open device. Please check that the device you are trying to open is connected.

LabJack Support
LabJack Support's picture
First power cycle (USB

First power cycle (USB disconnect and reconnect) your device and try the open call again.

Second, make sure no other application has your UE9 open. Only one application can claim a USB handle to the device at a time.

Third, make sure your UE9's power LED is on. This indicates the UE9 has power and is enumerated on your system. Also, you can run the "lsusb" command to see if Linux is detecting it is connected. The UE9's vendor ID is 0x0CD5 (hex value) and the product ID is 9. If your UE9 is not being detected or powered when connected over USB, try a different USB port.

kevin21
kevin21's picture
Hi,Support team 

Hi,Support team 

thanks it works well with your advise.

Rgs

Kvin.21