The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: File - UKHA_D Guidelines


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Visual Basic - Timing



Hi,
 
You can measure microseconds only from VC6 and/or assembler.
In VB6 is impossible to do something lower that 1ms.
 
In order to make measurements of microseconds, you must use the high resolution performance counters.
This is what I use in my application for real time measurement ( I get very good precision even with an PII/300MHz, for less than 100us).
If you want details, send me a mail.
 
BR,
Dan
 
----- Original Message -----
Sent: Thursday, October 03, 2002 11:20 PM
Subject: [ukha_d] [OT] Visual Basic - Timing

Hi All,

HELP !!!!!

If there is a simple answer to this I will get loads of replies and feel I
have missed the obvious but....

...despite searching on Google and looking in the VB6 help files, I cant
find a way of measuring the time between two events in anything less
"second" resolution.

Timers are programmed in "milliseconds" but I want to measure "microseconds"

Anyone done this or got ideas on how I can do it please.

In a world where PC's are past the 2GHz mark not being able to resolve more
than 1000 events per second seems unlikely!

Keith

www.diyha.co.uk
www.kat5.tv



http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Yahoo! Groups Sponsor
ADVERTISEMENT

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.