home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14498 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.6 KB

  1. Xref: sparky comp.sys.mac.programmer:14498 comp.sys.mac.comm:8285
  2. Newsgroups: comp.sys.mac.programmer,comp.sys.mac.comm
  3. Path: sparky!uunet!wupost!gumby!destroyer!sol.ctr.columbia.edu!news.columbia.edu!lamont!satish
  4. From: satish@ldgo.columbia.edu (Satish Paranjpe)
  5. Subject: Serial Port Question
  6. Message-ID: <1992Aug25.194423.17603@lamont.ldgo.columbia.edu>
  7. Sender: news@lamont.ldgo.columbia.edu
  8. Organization: Lamont-Doherty Geological Observatory
  9. Date: Tue, 25 Aug 1992 19:44:23 GMT
  10. Lines: 37
  11.  
  12. HI netters,
  13.   
  14. This might seem like a silly question, but I Am new to the Mac world
  15. and having some problems...
  16.  
  17. Here is the scenario...
  18.  
  19.    __________               __________
  20.   |          |             |          |
  21.   |          |             |          |
  22.   |          |             |          |
  23.   |    A     |<--------->  |    B     |<---------> serial port
  24.   |          |             |          |            "TEST DATA"
  25.   |          |             |          |
  26.   |__________|             |_________ |
  27.  
  28.  
  29. B is a process (application) launched by A .. 
  30. I have no problems exchanging messages between A and B using
  31. PPCtoolbox. What I want to do is after B gets a command (say) from A
  32. it will go and get read the data from the port, store it in a buffer
  33. and pass it to A. I am having problems making B read the data from the
  34. port. It only works if B is left  running continiously reading the
  35. port!! My question is Does B have to be running continiously or can i
  36. get around that somehow ?
  37.  
  38. I hope I have made it clear..
  39.  
  40. I am using Mac IIsi (system 7.0.x), Think C
  41.  
  42. Please respond by e-mail, any pointers to some code or sample code is
  43. greatly appreciated..
  44. Thanks a lot.
  45. Satish
  46.  
  47.  
  48.  
  49.