home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / programm / 8298 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!usc!venice!gumby.dsd.trw.com!deneva!news
  3. From: kieffer@spf.trw.com (Robert Kieffer)
  4. Subject: <Help> Problems with multiple DPSTimedEntries...
  5. Message-ID: <2B648279.25EE@deneva.sdd.trw.com>
  6. Sender: news@deneva.sdd.trw.com
  7. Organization: TRW Inc., Redondo Beach, CA
  8. Date: Tue, 26 Jan 93 00:14:48 GMT
  9. Lines: 26
  10.  
  11. Hi folks,
  12.  
  13. I've run into a problem while using more than two DPSTimedEntries...
  14.  
  15. I'm setting up a program that samples data from the DSP and subsequently  
  16. displays it in multiple views (ten to be exact). I'm using a single  
  17. DPSTimedEntry to call the routine that samples data from the DSP and a  
  18. DPSTimedEntry to call the display routine for each view (one entry per  
  19. view)... hence, eleven DPSTimedEntries in all.  I do this to distribute  
  20. the display of the views, so that I don't have large gaps in the sampling  
  21. of the DSP.
  22.  
  23. Anyway, the DPSTimedEntry for sampling the DSP sets up fine, as does the  
  24. one for my first view that I'm displaying in... but the subsequent 9  
  25. DPSAddTimedEntry calls return "0" (not "-1" as the documentation says it  
  26. should in the event of an error). The display objects/code are contained  
  27. in a nib file that I load at run time for each of my 10 views(windows), so  
  28. I'm pretty sure that I'm doing everything identically for each of the  
  29. views... but only the first one works.
  30.  
  31. Is there a limit to the number of timed entries that an application can  
  32. have?  Has anyone run into this problem before?
  33.  
  34. Thanks,
  35. Robert Kieffer
  36. kieffer@spf.trw.com
  37.