home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / transput / 929 < prev    next >
Encoding:
Text File  |  1992-08-14  |  2.3 KB  |  57 lines

  1. Newsgroups: comp.sys.transputer
  2. Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!sifon!duha
  3. From: duha@rekpmx.biomed.mcgill.ca (Jan A. Duha)
  4. Subject: Questions from a Novice
  5. Message-ID: <duha.2@rekpmx.biomed.mcgill.ca>
  6. Summary: Help!!!
  7. Keywords: T805, INMOS Ansi C
  8. Sender: news@sifon.cc.mcgill.ca
  9. Nntp-Posting-Host: 132.206.111.196
  10. Organization: Neuromuscular Control Lab
  11. Date: Fri, 14 Aug 1992 16:03:00 GMT
  12. Lines: 43
  13.  
  14. Greetings!
  15.  
  16.   We recently purchased a PC-based transputer system consisting of two
  17. T805 trams, along with a/d and d/a trams from Sunnyside Systems; we are
  18. developing a real-time control system (using the INMOS Ansi C Toolset) for a 
  19. hydraulic actuator used in motor control studies.  This is my first exposure 
  20. to Transputer programming, and I'm appalled at the (apparent?) lack of 
  21. documentation on INMOS Ansi C.  Granted, the examples which came the the C 
  22. compiler DID help somewhat, but they did not explain the whole story.  The 
  23. local INMOS dealers claimed there are no books on Parallel C!  With this in 
  24. mind, I turn to any  experts out there, with a few burning questions:
  25.  
  26. 1) the Ansi C user manual mentions that all Channels must be initialised
  27.    before use:  is this true even for single channels (not arrays 
  28.    of channels) when they are defined in .cfs files?  (There are examples 
  29.    on the Ansi C disks which DON'T use ChanInit with single channels defined
  30.    in configuration files; and all the programs I've written in the same
  31.    manner seem to work fine.)
  32.  
  33. 2) It seems to me that the "Proc" family of functions are only useful for
  34.    defining procedures running in parallel on the SAME TRANSPUTER, since
  35.    for a network it's much easier to combine and place several linked 
  36.    units using the configuration language.  Is there an advantage to
  37.    using "ProcPar" ?  Am I missing something?
  38.  
  39. 3) What kind of handshaking goes on during the transfer of a single byte
  40.    over a channel?  How long should this transfer take?  It seems to me
  41.    that channel transfers are a bottleneck in my programs... should this
  42.    be the case?
  43.  
  44.  Please excuse my ignorance, but I REALLY need your help on this.
  45.  
  46. Many thanks in advance,
  47.  
  48. Jan Duha
  49. duha@rekpmx.biomed.mcgill.ca
  50. duha@ee470.ee.mcgill.ca
  51.  
  52. Neuromuscular Control Lab
  53. Department of Biomedical Engineering 
  54. McGill University
  55. Montreal, Canada
  56. 514-398-6734
  57.