home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / misc / 4033 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.0 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!festival!wbg
  2. From: wbg@festival.ed.ac.uk (W Geake)
  3. Newsgroups: comp.lang.misc
  4. Subject: Accurate Timing in Visual Basic
  5. Summary: Anyone know how to get accurately timed events in VB?
  6. Keywords: Visual Basic, Timing
  7. Message-ID: <29569@castle.ed.ac.uk>
  8. Date: 15 Dec 92 14:47:30 GMT
  9. Sender: nntpusr@castle.ed.ac.uk
  10. Lines: 13
  11.  
  12. In order to run an analogue to digital convertor module from a serial
  13. port, I want to send a byte from the port every 10 ms.  This sets the
  14. sampling rate, so the accuracy of the interval is very important.  The
  15. VB Programmer's Guide mentions BUILT IN POTENTIAL FOR ERROR in timer controls, a great
  16. euphemism if ever I heard one.  Can I get good precision from VB, or do
  17. I need to work in C (please not!) or C++(worse still) or write a VxD
  18. (I'd rather sell life insurance)?
  19.  
  20. All ideas gratefully received: unlimited fame more or less guaranteed
  21. for useful ones.  Thanks in advance, O Wise Ones.
  22.  
  23. Bill Geake, University of Edinburgh, Scotland.
  24. Internet:  wbg@ee.ed.ac.uk  or W.Geake@festival.ed.ac.uk
  25.