Search Results

by Kyle
Tue Mar 26, 2019 9:08 am
Forum: Linux
Topic: PhidgetException
Replies: 2
Views: 11489

Re: PhidgetException

Hi jdecoux, thank you so much for your help! The error handling page helps me fixed the errors. Cheers! It looks like you're using Python, so you can put a try-except clause around your open call to get the error and description. You can look at our page about handling errors for more informaiton, a...
by Kyle
Mon Mar 25, 2019 9:27 am
Forum: Linux
Topic: libphidget22.so.0.0.0: cannot open shared object file
Replies: 0
Views: 20055

libphidget22.so.0.0.0: cannot open shared object file

Hi, I'm running python2.7 code with phidget. I'm not sure if libphidget22 is installed properlly. By running the code, it gives me the following error: OSError: libphidget22.so.0: cannot open shared object file: No such file or directory Exception OSError: OSError('libphidget22.so.0: cannot open sha...
by Kyle
Wed Mar 20, 2019 8:27 am
Forum: Linux
Topic: PhidgetException
Replies: 2
Views: 11489

PhidgetException

Hi there, I have this code run on my Linux machine. It's running before I did something to the usb settings. (I'm not sure if I changed anything but I suppose this is the reason why it's not running now). Here's the code: ch00.setDeviceSerialNumber(serialNumber) ch00.setChannel(0) ch00.setOnAttachHa...
by Kyle
Thu Jul 12, 2018 3:04 pm
Forum: Python
Topic: How can I install Phidget22 Python module
Replies: 1
Views: 7131

Re: How can I install Phidget22 Python module

Ignore the post. I just noticed there was an typo in my command which cause the trouble.

It's super easy. Just unzip the downloaded module. cd in the directory and run

Code: Select all

sudo python setup.py install
. You my need to input the password to run as root.
by Kyle
Thu Jul 12, 2018 3:00 pm
Forum: Python
Topic: How can I install Phidget22 Python module
Replies: 1
Views: 7131

How can I install Phidget22 Python module

I downloaded and unziped the Python module. There are a setup.py file and a folder called Phidget22. Where should I put these files or what should I do to actually install the python module?

Sorry, it's a really dummy question. Please help. Thanks!
by Kyle
Thu Jul 12, 2018 2:55 pm
Forum: Linux
Topic: Have trouble installing libphidget22 on Linux for Python
Replies: 1
Views: 7552

Re: Have trouble installing libphidget22 on Linux for Python

I might actually know what's my problem.
I successfully intalled the Linux lib, but I didn't install the Python module. That's why I can't find the module when running my code. Hope this helps people who meet the same problem as mine.
by Kyle
Wed Jul 11, 2018 11:48 am
Forum: Linux
Topic: Have trouble installing libphidget22 on Linux for Python
Replies: 1
Views: 7552

Have trouble installing libphidget22 on Linux for Python

Hi there, I'm having trouble installing the libphidget22. It's not my first time install this lib on the Linux machine. However, it's my first time install on a Debian Jessie machine which doesn't have GUI. I followed the steps here: https://www.phidgets.com/docs/OS_-_Linux#Quick_Downloads I always ...
by Kyle
Thu Jun 28, 2018 12:09 pm
Forum: All Other Phidgets
Topic: How does the 1111 Motion sensor work?
Replies: 2
Views: 5745

Re: How does the 1111 Motion sensor work?

Thank you, fraser! That makes sence.
by Kyle
Thu Jun 28, 2018 10:16 am
Forum: All Other Phidgets
Topic: How does the 1111 Motion sensor work?
Replies: 2
Views: 5745

How does the 1111 Motion sensor work?

Hi there, I'm using interface kit 1019 and the motion sensor 1111. I just tested the sensor. It is likely that when there's nothing move in the field, the analog output would be 2.5v. When something was moving in the field, the output voltage would change. The problem is that I can't find the rule a...
by Kyle
Thu Jun 28, 2018 10:00 am
Forum: Sensors
Topic: The Formula for 1106 Force Sensor
Replies: 3
Views: 26366

Re: The Formula for 1106 Force Sensor

Thank you, Fraser! It's really helpful!