Search Results

by Lyndon Williams
Tue Dec 05, 2017 12:59 pm
Forum: Python
Topic: Phidget 22 and remote devices
Replies: 2
Views: 4229

Re: Phidget 22 and remote devices

Thank you mparadis. Seems I had a number of issues that were causing me trouble. The main one was that I had to update my SBC2. It was not enough to update packages in the web based GUI. I had to turn on SSH server and log in through SSH to run sudo apt-get update and sudo apt-get upgrade as well as...
by Lyndon Williams
Wed Nov 29, 2017 7:07 am
Forum: General
Topic: Web Service problem on Phidgets Control Panel
Replies: 8
Views: 16165

Re: Web Service problem on Phidgets Control Panel

I had the very same problem. I took the advice of going in through SSH (make sure your SSH server is turned on on the SBC through the Web configuration.) I had to switch to su of course, and then tried.... sudo apt-get update sudo apt-get upgrade I learned that phidgetswebservice was being held back...
by Lyndon Williams
Tue Nov 28, 2017 12:34 pm
Forum: Python
Topic: Phidget 22 and remote devices
Replies: 2
Views: 4229

Phidget 22 and remote devices

With Phidgets 21 if I wanted to open a remote device with Python, I would say: motorControl.openRemoteIP("192.168.83.106", 5001, -1, "") With Phidget 22, I can open a locally attached device easily enough: MyServoChannel = RCServo() MyServoChannel.openWaitForAttachment(10000) But...
by Lyndon Williams
Thu Mar 07, 2013 10:30 am
Forum: Python
Topic: openRemoteIP - I suspect there's a quick answer.
Replies: 14
Views: 25521

Re: openRemoteIP - I suspect there's a quick answer.

Brian, if this is a problem between the ctypes module and the Phidgets module with Python 3.x, could we have someone look at the Python module and make the necessary modifications? Perhaps make a Phidgets module for Python 3.x?
by Lyndon Williams
Wed Mar 06, 2013 9:46 am
Forum: Python
Topic: openRemoteIP - I suspect there's a quick answer.
Replies: 14
Views: 25521

Re: openRemoteIP - I suspect there's a quick answer.

The same error occurs in Python 3.3 as well. It seems to be something with the ctypes module with Python 3.X, or some out of date coding in C:\Python32\lib\site-packages\Phidgets\Phidget.py.
by Lyndon Williams
Wed Mar 06, 2013 8:24 am
Forum: Python
Topic: openRemoteIP - I suspect there's a quick answer.
Replies: 14
Views: 25521

Re: openRemoteIP - I suspect there's a quick answer.

The error only occurs for me with Python 3.2 or Python 3.3, not with Python 2.7.
by Lyndon Williams
Thu Jan 10, 2013 9:31 am
Forum: Python
Topic: openRemoteIP - I suspect there's a quick answer.
Replies: 14
Views: 25521

Re: openRemoteIP - I suspect there's a quick answer.

I received the same error. Are you running Python 3.2 or 2.7? Traceback (most recent call last): File "C:\Python32\simpleTemperaturSensor.py", line 64, in <module> interfaceKit.openRemoteIP("192.168.83.142",5001, -1, "") File "C:\Python32\lib\site-packages\Phidgets...
by Lyndon Williams
Thu Jan 10, 2013 6:11 am
Forum: Python
Topic: openRemoteIP - I suspect there's a quick answer.
Replies: 14
Views: 25521

Re: openRemoteIP - I suspect there's a quick answer.

Hey Brian, I tried adding the serial number as the third argument. Here is the code.... from Phidgets.Devices.InterfaceKit import InterfaceKit remoteIFK= InterfaceKit() remoteIFK.openRemoteIP("192.168.83.142",5001,45240,"") # remoteIFK.openRemoteIP(45240,"192.168.83.142"...
by Lyndon Williams
Wed Jan 09, 2013 10:01 am
Forum: Python
Topic: openRemoteIP - I suspect there's a quick answer.
Replies: 14
Views: 25521

openRemoteIP - I suspect there's a quick answer.

I used an 1124 temperature sensor on an 8/8/8 interface board locally. Here's a very simple code that worked..... from Phidgets.Devices.InterfaceKit import InterfaceKit localIFK= InterfaceKit() localIFK.openPhidget() localIFK.waitForAttach(10000) sensorvalue = localIFK.getSensorValue(0) roomtemp = (...