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