Your question reminds me of a book - I bought at the Chicago MAX a few
years back - by Brendan Dawes called "Analog In - Digital Out".
In one of the chapters, he connects a Teleo Module to his web server,
installs some driver and writes a little script . The end result is that
a real household door bell would ring with each new visitor to his site.
He cites the following two URLs as resources, although I could only get
one of them to load:
http://www.makingthings.com/
http://www.moock.org/unity/
Not really relevant to either of your options, but fun for me to
remember; plus now somebody can search for it some day.
Al
On 3/1/2012 1:07 PM, Rob wrote:
Aloha All,
Interesting project; marine receivers listening for tagged fish in
Hawaii. The receiver is hardwired to a laptop via a serial port.
There is a proprietary app that configures the receiver and can set it
to a real time transmit mode. The results are visible on a terminal
viewer (hyperterminal, PuTTY, etc).
I want to pull the data from the receiver, send it to a web service on
a server for insertion into a database.
Option 1: I can have OpenBD launch PuTTY, with a command that writes
the output to a text file in a folder, and then have OpenBD read the
text file and call the webservice. I could probably also manually
launch PuTTY on the laptop (which is on a different island, so not
logistically easy).
Option 2: I can have OpenBD talk to the receiver directly with
something like javax.comm.
I think I can do option 1, but I'd really like to know how to have
OpenBD talk to serial ports. I have a couple other application ideas
that involve reading from devices or sending commands to devices over
an InfraRed port.
Anyway, it seems like something that can be done - I am a long time
ColdFusion developer, but not a Java developer.
Any pointers to information or leads would certainly be appreciated.
Thanks,
Rob
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en