Page 1 of 1

Serial port stuff

Posted: Thu May 13, 2010 7:21 pm
by ErikSchwartz
I'm having a hard time trying to access data in Rev coming in on the serial port. I'm running studio in OSX. I'm using a keyspan adapter. I've done this in Macrmind Director using externals (and in hypercard and supercard a long time ago)

Are there a set of working handlers someone might share that will help me learn this? The documentation is pretty thin when it comes to the COM ports. I feel like I'm doing something dumb and obvious but I'm just not seeing it yet.

Re: Serial port stuff

Posted: Fri May 14, 2010 7:12 am
by WaltBrown
Erik,
The "Read From File" entry in the Dictionary indicates:

"If you specify the name of a serial port on Mac OS or Windows systems, Revolution reads from the specified port. The names
of serial ports end in a colon (:).".

Might be a place to start - I haven't tried it.
Walt

Re: Serial port stuff

Posted: Fri May 14, 2010 6:10 pm
by ErikSchwartz
I think I am figuring it out. Made good progress last night and seem to be over the hump.

Erik