Hello all,

I have a WindowsXPe system that I am currently working on, where the
serial port has a jitter of approximately 50ms. I'd like to be able
to
get the jitter down to less than 10ms; but I suspect that this may
not
be possible using WindowsXPe. The delay is not important; only the
jitter. The language used is C#.

Is there anyone out there that can confirm my suspicions?

The function call is " WriteFile(hPort, _tosend, (uint)writeCount,
out sent, ptrUWO) ",
which as far as I can see it is a funtion in kernel32.dll.


My thanks in advance.

Re: WindowsXPe Serial Port (Comport) timing issue by Skywing

Skywing
Thu Aug 23 10:52:07 CDT 2007

timeBeginPeriod can be used to drop the system timer resolution down a bit,
which may or may not help you here depending on what is the underlying cause
of your jitter. However guaranteed timing is not in general possible on
Windows as the operating system is explicitly not designed to function as a
real time OS.

--
Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
"Barchman" <simonbarchard@gmail.com> wrote in message
news:1187882161.103764.191900@x35g2000prf.googlegroups.com...
> Hello all,
>
> I have a WindowsXPe system that I am currently working on, where the
> serial port has a jitter of approximately 50ms. I'd like to be able
> to
> get the jitter down to less than 10ms; but I suspect that this may
> not
> be possible using WindowsXPe. The delay is not important; only the
> jitter. The language used is C#.
>
> Is there anyone out there that can confirm my suspicions?
>
> The function call is " WriteFile(hPort, _tosend, (uint)writeCount,
> out sent, ptrUWO) ",
> which as far as I can see it is a funtion in kernel32.dll.
>
>
> My thanks in advance.
>