>>What are you trying to do??
>>Myles.
Hi Myles,
The application was for controlling a robotic arm... I believe the
application used to count pulses (from something) as the arm moved but this
was proving unreliable as a pulse or two was getting missed.
The application would need to time the movement of the arm... I think they
where also looking at a PLC to do the counting and return the counts to the
PC, that was another option.
Regards
Colin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Myles Penlington
Sent: Wednesday, 25 July 2001 11:02 am
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Timing Resolutions
Delphi can do the same as any other Win32 application.
Since you are running in a multi-tasking timeslice environment, the 10ms
resolution may be more to do with the basic task switching timeslice/machine
loading.
The standard counters are in milliseconds, with the lowest being 1ms.
However there is more detail available in the performance counters, but
again, the multitasking timeslice may have bigger effects. How fast is the
machine??
If you want you can count CPU cycles/instructions counts with the RDSTC
instruction if required (some of the profiling software uses this method).
What are you trying to do??
Myles.
-----Original Message-----
From: Colin Fraser [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 25 July 2001 10:52 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Timing Resolutions
Hi all,
I have just had someone ask me about timing resolution in Delphi.
I understand that TDateTime can record milliseconds, but I am not sure to
what level... also I have seen the TTimeStamp routing for storing time in
more detail.
I see that you can set a TTimer in milliseconds, but how low can you go???
I have heard 50 milliseconds, is that correct. I have also had a look at
GetTickCount... that seems to go up in 10 millisecond intervals.
Any info, or pointers to functions would be great.
Regards
Colin
######################################################################
Attention:
The information in this email and in any attachments is confidential.
If you are not the intended recipient then please do not distribute,
copy or use this information. Please notify us immediately by return
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
######################################################################
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
######################################################################
Attention:
The information in this email and in any attachments is confidential.
If you are not the intended recipient then please do not distribute,
copy or use this information. Please notify us immediately by return
email and then delete the message from your computer.
Any views or opinions presented are solely those of the author.
######################################################################
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/