I need to somehow interact with the device and tell it to send data every at regular intervals. Is there a way to "tap" into the closed software program that the school paid for (has no public API or anything). I seriously have no idea how I would program something to talk to the device that's way beyond my skill level.
Is any of this even possible. Do people make programs that can automate other programs that have no available API or anything? I would really appreciate some input on this matter.
[ September 18, 2007: Message edited by: Bear Bibeault ]
It is a common, and sometimes tricky and hot question.
With some skill, you may be able to write whatever it is you are trying to hook into with your own java code. My favorite approach is to take some problem description, program behaviour description and start writing and designing a program that will do that.
If your concept connects to a remote database, others will be the one to help you.
Can / will you provide some generic description of what the program is already doing ?
Do not mention any business names or brand names, just what the program does.
Currently, the only way to get a reading from that data logger requires you to perform a series of actions with their software to download the latest readings from the logger (Ex Menu -> Get Readings). If I could somehow create a program that could automatically call the logger and get it's data at intervals, I would be a happy camper
Like I said I'm completely clueless as to where to start.
Is there anyway I could tap into the program while it is running? I have been researching a bit and I found something about communicating with the USB port, and getting data directly from the device, do you guys think that could work?
I'm also trying to find some threads on this topic, but I don't know any good search terms to use, except my own that produce nothing. I really want to try and make this work, any help is appreciated, thank you.
Originally posted by steven jackson:
The program outputs files in some custom file format. I'm interested in some of the techniques Nicholas referred to in the first reply, I just want to figure out all my options before I commit to an implementation.
[steven jackson:]I really want to try and make this work, any help is appreciated, thank you.
Lookup Basic Stamp and Microchip PIC Projects .
It's a mess trying to go about it the way you are trying to go about it.
Simple temperature sensors, and a data logger written in Java are standard projects in the Basic Stamp community and there is a distinct isolation from some syrup issues that make it nasty to try to deal with this in a direct manner.
You can also consider text reading tools that are available in standard java, some of the masters we have here will be better qualified to help you with those.
They are all in java.io in your source directory, and you need to look for getline or readline or whatever it is called in java - along with getting a fundamental grasp of byte/char conversions that are done by thoses tools.
A program that could automatically call the logger and get it's data at intervals, if written by you, could be shared with others in a school environment that want to do the same thing.
Instead of trying to understand something the vendor is trying to protect, just "compete" with them .... that is what Open Source is all about.