Search Results

by mparadis
Tue Feb 28, 2023 3:55 pm
Forum: Python
Topic: Bug: KeyboardInterrupt is not called
Replies: 1
Views: 11168

Re: Bug: KeyboardInterrupt is not called

When I run this code I get "Got KB interrupt" regardless of whether the 'open' line is commented out. If the Phidget isn't physically connected, I get a timeout exception after 5 seconds, as expected. I get the same behaviour on python 2.7.18 and python 3.6.7.
by mparadis
Tue Feb 28, 2023 8:59 am
Forum: Python
Topic: relay control
Replies: 1
Views: 10985

Re: relay control

It looks like you're printing the state of the relay immediately after opening it. The state of a digital output object is always false when it is first opened, regardless of what state it was in when it was last closed. In fact, all Phidget channels will have all of their properties at their defaul...
by mparadis
Fri Feb 24, 2023 9:06 am
Forum: General
Topic: Can't install Phidgets ROS driver
Replies: 2
Views: 9836

Re: Can't install Phidgets ROS driver

Phidget21 and Phidget22 are entirely different versions of our libraries. If you installed the newest drivers, you would have Phidget22 installed. If a program needs the older version, you'll have to install it separately. You can find the downloads for Phidget21 here.
by mparadis
Wed Feb 08, 2023 9:39 am
Forum: InterfaceKits
Topic: Smaller or custom VINT board for single device
Replies: 5
Views: 11705

Re: Smaller or custom VINT board for single device

The VINT protocol is public in the sense that any user is free to download our linux libraries and view the source code. We have had a few users write programs to interface with VINT packets directly, so a custom device is not impossible. But we don't have the development resources to support a fram...
by mparadis
Wed Feb 08, 2023 9:23 am
Forum: General
Topic: Hub5000 - visible on control panel, unable to find through program
Replies: 2
Views: 8821

Re: Hub5000 - visible on control panel, unable to find through program

You should set the addressing parameters (HubPort, Channel, DeviceSerialNumber, IsRemote) before calling openWaitForAttachment, so your program knows which channel to look for. If these parameters are not set before opening, it will just try to find any local Accelerometer channel it can find. Since...
by mparadis
Tue Feb 07, 2023 9:37 am
Forum: InterfaceKits
Topic: Smaller or custom VINT board for single device
Replies: 5
Views: 11705

Re: Smaller or custom VINT board for single device

The VINT protocol is a packet-based protocol like USB, so your board would need to have specialized firmware to decode incoming packets and encode outgoing packets. While theoretically possible, it's not a good idea because of the huge time investment it would require to code and reverse-engineer, a...
by mparadis
Mon Jan 23, 2023 11:01 am
Forum: General
Topic: Duplicating RFID tags
Replies: 1
Views: 4802

Re: Duplicating RFID tags

If the tag uses one of the protocols we support (EM4100/EM4102, ISO11785 FDX-B, or plain ASCII text), then you can use the 1024_0 to do what you described. First, you'd read your tag and make note of the tag string. Then you'd get some blank writable tags and write the same string to those tags. If ...
by mparadis
Tue Dec 20, 2022 11:38 am
Forum: All Other Phidgets
Topic: Actuator with optical encoder
Replies: 5
Views: 13710

Re: Actuator with optical encoder

When you say that I would have to write a program to count the pulses, does that mean that I would need to connect the encoder directly to the VINT hub and then open a Voltage Input Port channel to read the raw pulses and convert that to a linear distance using "100 pulses = 1in" (as per ...
by mparadis
Mon Dec 19, 2022 12:38 pm
Forum: All Other Phidgets
Topic: Actuator with optical encoder
Replies: 5
Views: 13710

Re: Actuator with optical encoder

Based on the description on Firgelli's website and the graph you posted, it looks like the encoder just provides a single channel of pulses, with 10 pulses = one rotation. If this is the case, you'd need to write a program that can count those pulses. But I think it'd be hard to get reliable data if...
by mparadis
Thu Dec 15, 2022 9:16 am
Forum: All Other Phidgets
Topic: Encoder Interface 1057_3B
Replies: 1
Views: 9714

Re: Encoder Interface 1057_3B

Change trigger is the minimum threshold of change required before an event is fired. The default value is zero, meaning you'll always get a position change event, even if the encoder hasn't moved. If you set the change trigger to 200, you won't get a change event until the encoder has moved by 200 o...