🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3928

Accurate Timing in Visual Basic

#3928
From: W Geake
Date: Tue, 15 Dec 1992 14:47
13 lines
1084 bytes
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
Technical Details
Message-ID: <29569@castle.ed.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!edcastle!festival!wbg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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