Here's a COM object (sheesh--inadvertent pun even!) that looks like it would give you what you need:
http://www.activexperts.com/activcomport/howto/coldfusion/ It's not free, and it's not cheap either, but it's already rolled, and if your project has funding it might be a good way to go. You might also try Googling for RS-232 info NOT specifically related to BD/CFML. My brother manages a test lab that uses lots of RS-232 equipment--there's a community around that stuff just like any other tech community. Search out a COM object for RS-232 (hopefully one that's not quite so expensive as the one above); any of them should work with <cfcomponent type="com">. One caveat: Most "COM objects" written in Visual Basic are only usable within the VB app that created them, because they're not complete COM objects; if you find something that looks plausible, find out what it was written with before you invest any head-banging trying to make it work. Good luck, and aloha! - Jeff On Mar 1, 4:07 pm, Rob <[email protected]> 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
