Search Results

by testpresta2
Fri Feb 02, 2018 9:31 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

In my previous code, i had no exception when the ports changed value...
by testpresta2
Fri Feb 02, 2018 12:33 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

How can i track a channel disconnexion ?
The documentation is very poor

Thanks
by testpresta2
Thu Feb 01, 2018 4:44 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

Here is my code: from Phidgets.Devices.InterfaceKit import InterfaceKit import time import random class GestionRelais: def __init__(self): self.carte0 = InterfaceKit() self.carte0.openPhidget(REPLACE_WITH_YOUR_BOARD1_SERIAL_NUMBER) self.carte0.waitForAttach(10000) self.carte1 = InterfaceKit() self.c...
by testpresta2
Thu Feb 01, 2018 4:42 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

I have lost half a day with your 21 library version.

I have made a program that randomly put some ports to 1 or 0, then wait a fews seconds and loop.

The states are not always applied.

This board is really a joke for me.

I wont work with Phidgets
by testpresta2
Thu Feb 01, 2018 1:51 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

How do you explain that only one channel of 4 is disconnecting. If my raspberry cut the usb power, it will close the 4 channels ?
by testpresta2
Wed Jan 31, 2018 12:01 pm
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

What a shit. I have checked everything. When i set an output to 1, i made a loop to wait until the state of this channel is 1. Then i put a time.sleep(1) and when i read the state again, it comes to 0 !! I think there is a bug somewhere but it is not my job to fix that. I think i will trash this rel...
by testpresta2
Wed Jan 31, 2018 6:07 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

I have received my relay boards. I have tried this code. When i try to set state to 1 of relay 3 (channel3), the relay 0 (channel0) goes from 1 to 0 whereas i do not touch anything on channel0. Please note i am maybe changing value too fast. Does the setState method async ? I mean if setState return...
by testpresta2
Wed Jan 31, 2018 1:03 am
Forum: Linux
Topic: Python Phidget22 module - scan usb
Replies: 2
Views: 5373

Re: Python Phidget22 module - scan usb

This manager does not exist in command line for linux raspberry...
by testpresta2
Tue Jan 30, 2018 12:15 pm
Forum: Linux
Topic: Python Phidget22 module - scan usb
Replies: 2
Views: 5373

Python Phidget22 module - scan usb

Hello,

Is there a way with Phidget22.Phidget python import module to scan USB bus and get all phidget serial number devices which are connected to USB ?

Thanks
by testpresta2
Mon Jan 22, 2018 12:58 am
Forum: Linux
Topic: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python
Replies: 20
Views: 25733

Re: PhidgetInterfaceKit 0/0/4 USB on raspberry pi3 - Python

Thanks but the sample you told me does not show a multi relay case.
So i want to be sure it will work...