home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.mac.programmer:14498 comp.sys.mac.comm:8285
- Newsgroups: comp.sys.mac.programmer,comp.sys.mac.comm
- Path: sparky!uunet!wupost!gumby!destroyer!sol.ctr.columbia.edu!news.columbia.edu!lamont!satish
- From: satish@ldgo.columbia.edu (Satish Paranjpe)
- Subject: Serial Port Question
- Message-ID: <1992Aug25.194423.17603@lamont.ldgo.columbia.edu>
- Sender: news@lamont.ldgo.columbia.edu
- Organization: Lamont-Doherty Geological Observatory
- Date: Tue, 25 Aug 1992 19:44:23 GMT
- Lines: 37
-
- HI netters,
-
- This might seem like a silly question, but I Am new to the Mac world
- and having some problems...
-
- Here is the scenario...
-
- __________ __________
- | | | |
- | | | |
- | | | |
- | A |<---------> | B |<---------> serial port
- | | | | "TEST DATA"
- | | | |
- |__________| |_________ |
-
-
- B is a process (application) launched by A ..
- I have no problems exchanging messages between A and B using
- PPCtoolbox. What I want to do is after B gets a command (say) from A
- it will go and get read the data from the port, store it in a buffer
- and pass it to A. I am having problems making B read the data from the
- port. It only works if B is left running continiously reading the
- port!! My question is Does B have to be running continiously or can i
- get around that somehow ?
-
- I hope I have made it clear..
-
- I am using Mac IIsi (system 7.0.x), Think C
-
- Please respond by e-mail, any pointers to some code or sample code is
- greatly appreciated..
- Thanks a lot.
- Satish
-
-
-
-