VINT Hub is not working with Python examples in Linux

Supporting 2.7 and 3.2+
Post Reply
satsriakal
Phidgetsian
Posts: 9
Joined: Sun Nov 12, 2017 3:44 am
Contact:

VINT Hub is not working with Python examples in Linux

Post 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
User avatar
mparadis
Site Admin
Posts: 660
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

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

Post 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.
satsriakal
Phidgetsian
Posts: 9
Joined: Sun Nov 12, 2017 3:44 am
Contact:

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

Post by satsriakal »

Thanks a lot!
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests