Re: Phoenix

1 view
Skip to first unread message

Stephen Bannasch

unread,
Jun 1, 2011, 6:00:14 PM6/1/11
to Michael Borcherds, org-conco...@googlegroups.com
At 10:25 PM +0100 6/1/11, Michael Borcherds wrote:
Just bad timing, now up :)

Mike

On 31 May 2011 17:23, Stephen Bannasch <sban...@concord.org> wrote:
>>Hi,
>>
>>Have you got any interest in supporting the USB version of this?
>>http://www.iuac.res.in/~elab/phoenix/
>>http://www.iuac.res.in/~elab/phoenix/vendor.html
>>
>>if we can get you details and samples?
>>
>>It's (almost) open source hardware for logging.
>
> Hi Mike,
>
> The server appears to be down: http://www.iuac.res.in

We don't have a currently funded-project that can actively support this development but I'm always interested in taking a look a something like this.

It's a little hard for me to find the right documentation to describe what kind of USB driver they are using. If the deviceusesthe built-in USB HID driver then it would be possible to develop a browser-based application that worked with the Phoenix (browser-based apps that work with probeware are my particular interest because of the possibility of easy of deployment tostudents).

I see this page on the software: http://www.iuac.res.in/~elab/phoenix/software/index.html but don't see either a description ofthe USB interface or the software that implements the interface.

Looking at this image: http://www.iuac.res.in/~elab/phoenix/hardware/pics/phoenix_usb.jpg I see the device supports digitalinputs and outputs as well as analog outputs.

I found this: http://www.iuac.res.in/~elab/phoenix/docs/prog_manual.pdf but it doesn't describe the USB interface. This update mentions the USB interface however I didn't see links to the technical implementation: http://linuxgazette.net/153/kishore.html

Right now our existing Java sensor interface abstraction only supports analog inputs (one or multiple) so it would take some additional work.

This is related info you might be interested in.

Scott Cytacki has been working on updating the Otrunk/Java/Vernier native interface with code that uses JNA instead of JNI.Thisis likely to be much easier to maintain and use as an example for development of a Java api for other interfaces. In this casethe Java JNA code is dependent on a Windows and Mac OS X C++ Vernier dll that communicates to the GoIO devices over theUSB HID  device driver.

At 11:08 AM -0500 5/27/11, Scott Cytacki wrote:
From your initial email I got the impression you just needed to talk to the GoIO devices from Java. In that case,  this project is probably the best way to do that:
http://svn.concord.org/svn/projects/trunk/common/java/sensor/goio-jna/

That provides a simple Java api for talking to the GoIO devices using JNA.  It might require a little back and forth inorder to get it compiling for you.  If you are familiar with maven give the usual maven build commands a try and see if that works.

Also that project doesn't complete map the entire GoIO SDK to java so you might need to add a few methods to it.


Michael Borcherds

unread,
Jun 1, 2011, 6:47:36 PM6/1/11
to org-conco...@googlegroups.com, Stephen Bannasch
Sounds like the first step is to try and get some USB specs for this.

Regarding the JNA / dll solution, what's the licence for distributing
the dll file?

thanks,

Mike

> --
> You received this message because you are subscribed to the Google
> Groups "org-concord-sensor" group.
> To post to this group, send email to org-conco...@googlegroups.com
> To unsubscribe from this group, send email to
> org-concord-sen...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/org-concord-sensor?hl=en?hl=en
> Google Code project for org-concord-sensor:
> http://code.google.com/p/org-concord-sensor/

Stephen Bannasch

unread,
Jun 1, 2011, 6:59:47 PM6/1/11
to Michael Borcherds, org-conco...@googlegroups.com
At 11:47 PM +0100 6/1/11, Michael Borcherds wrote:
>Sounds like the first step is to try and get some USB specs for this.
>
>Regarding the JNA / dll solution, what's the licence for distributing
>the dll file?

Vernier provides their GoIO SDK (which includes the dll code) under an extremely open license:

This is extracted from readme.txt:

The SDK includes complete source code in C++. You are free to use this code
however you like. All the software included in this SDK was written by
Vernier Software & Technology(VST), and VST places absolutely no legal
restrictions on using the software. You can copy the code, modify it, embed
it in your own products, etc.

VST does not guarantee that the code is bug free, but we try to make it so.
If you find any bugs, please report them to
http://www.vernier.com/tech/supportform.html .

VST would prefer that you not modify GoIO_DLL.dll, libGoIO_DLL.dylib, or
libGoIO_DLL.framework. If you do modify any of them, please give your
modified version a different name, so we can easily distinguish your
version from the VST version.

http://svn.concord.org/svn/projects/trunk/common/java/sensor/goio-jna/GoIO_SDK/readme.txt

I also maintain a mirror of the GoIO SDK here on github:

https://github.com/concord-consortium/goio_sdk

The master branch has my changes, the dist branch has exact mirrors of Vernier distributions v2.28 and v2.39.

Reply all
Reply to author
Forward
0 new messages