Page 1 of 1

Help with building a plugin - Phidgets

Posted: Wed May 06, 2009 3:58 am
by JoeInBend
hi all,
I need a plugin for Phidgets, which is a hobbyist / prototyping hardware interface. Fortunately, they have readily-available API's and python modules. I was able to successfully pull the data from the device by just adding a Python Macro using their sample scripts with some minor changes. It dumps the data to the log, but since it is just "info" lines, I cannot build events off of it, so i really do need the plugin.

If anyone were up to the challenge, I am betting that someone with familiarity with Python could bang out a plugin pretty dang quick. Below is a link to the Phidgets python source, and the device that I need a plugin for is called the "InterfaceKit".

http://www.phidgets.com/downloads.php?example_id=31

Thanks in advance for any assistance!!

Re: Help with building a plugin - Phidgets

Posted: Wed May 06, 2009 3:02 pm
by JoeInBend
Another note I forgot to add -- Another possibility for communicating with Phidgets hardware, instead of having a native plugin, Phidgets already has a "Web Interface", where you can communicate with the hardware via port 5001. Is there a way EG can attach to it this way to pull events and send strings?

Re: Help with building a plugin - Phidgets

Posted: Fri May 08, 2009 4:41 am
by krambriw
Dear Joe,
Like with everything in life, maybe especially with SW, we can look around and see & learn what others have already done.

Below in this section is already a plugin that I believe can be used as a "template" or at least gives a good starting point to build one for your board: The Velleman k8055

The k8055 is also an experiment board that has analogue in/out, digital in/out and a usb connection (and it seems to cheaper)

Take a look at the code and you will see. You can also add it to your eg configuration and play with the settings and then you see what is supported and how it is built up

Best regards, Walter

Re: Help with building a plugin - Phidgets

Posted: Fri May 08, 2009 1:25 pm
by JoeInBend
Thanks for the lead Walter! I will take a look at that one today and see what I can do!

Re: Help with building a plugin - Phidgets

Posted: Mon Dec 21, 2009 7:47 pm
by CollinR
BTT

Re: Help with building a plugin - Phidgets

Posted: Mon Dec 21, 2009 8:24 pm
by krambriw
NFL :)