Page 1 of 1

VINT Hub is not working with Python examples in Linux

Posted: Sun Dec 10, 2017 11:03 am
by satsriakal
OS: Linux Mint
Hardware: VINT Hub

Hi everybody,

If I connect the device and I launch Helloworld.c example, it works fine, but if I use VoltageInput.py example, the device even if attached, is not detected.
I reinstalled Python libraries. If I use InterfaceKit device, it works fine. But VINT Hub is not detected at all.
Can you help me, please?
Best regards
Beppe

Re: VINT Hub is not working with Python examples in Linux

Posted: Mon Dec 11, 2017 8:27 am
by mparadis
There are comments in VoltageInput.py that describe how to open a VINT Hub port in VoltageInput mode:

Code: Select all

    # Specifies that the channel should only match a VINT hub port.
    # The only valid channel id is 0.
    #
    # The default is 0 (false), meaning VINT hub ports will never match
    #
    # ch.setIsHubPortDevice(1)
You need to uncomment that last line. There are also similar comment blocks for opening specific ports, specific serial numbers, and for opening Phidgets remotely.

Re: VINT Hub is not working with Python examples in Linux

Posted: Fri Dec 15, 2017 12:21 pm
by satsriakal
Thanks a lot!