Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!ncar!gatech!prism!gt1619a From: gt1619a@prism.gatech.EDU (Net Runner Mark V) Newsgroups: comp.sys.amiga.misc Subject: Re: AREXX Serial Port Handler Sought Message-ID: <19583@hydra.gatech.EDU> Date: 13 Jan 91 05:25:18 GMT References: <16363@venera.isi.edu> Organization: Georgia Institute of Technology Lines: 31 In article <16363@venera.isi.edu> schur@venera.isi.edu (Sean Schur) writes: >I am interested in finding out how to access the serial port through an >AREXX program. I need to send certain ASCII codes through the serial port. > >Any suggestions? > >============================================================================== >Sean Schur USENET: schur@isi.edu >Assistant Director Amiga/Media Lab Compuserve: 70731,1102 >Character Animation Department Plink: OSS259 >California Institute of the Arts >============================================================================== Accessing the serial port via AREXX is pretty simple actually... Simply use the OPEN function under AREXX to open the 'SER:' logical device... This will use the preferences settings for the serial port. From then on, to write messages to the serial port, or read messages from the serial port, use the functions WRITECH, WRITELN, READCH, and READLN which are documented in the AREXX manual. If you can be more specific in exactly the type of information you're trying to handle and how you'd like to go about it, I could come up with an example for you. ------------------------------------------------------------------------------- James McIninch gt1619a@hydra.gatech.edu Georgia Institute of Technology Applied Biology (Molecular)