I understand that the external device doesn't have a parallel port, but
does the *Windows CE device* have one? You still have not told us what
device it is...
Whoa! You got 1/2 of the target throughput using a PC and unmanaged code
(which is 100 times faster than your Windows CE device), and you're
expecting managed code and Windows CE to *outperform* that? You have
zero chance of getting that to work.
As Chris suggests, if you can write a Windows CE driver to talk directly
to the general-purpose I/O on your device, you may be able to do this
throughput.
Paul T.
Jose said:
Thanks for your answer, Paul:
This is not a device with a parallel port. It's a leds panel that has a
three input lines controlled by electric pulses. We would like to
control the leds panel using a micropc with windows ce, using a serial
or parallel port.
I decided to play this way: one to send the data (RTS), another one to
use it as a data clock (DTR) and another one when the data frame has
finished (Tx with bit stop). It works fine, but it is not quick enough
Using RTS and DTR lines I got about 50.000 pulses per second using a PC
and unmanaged code, worse in a Windows CE. I need to achieve about
100.000 pulses per second.
Any suggestion would be very apreciated
Best regards
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
escribió en el mensaje Does your device even have a parallel port? What device are we talking
about? If serial changes to the RTS and DTR lines are too slow,
there's no reason to suspect that parallel would be any different.
Have you tried this in unmanaged code? That has more potential to work
better than switching port types...
Paul T.
Hello:
I've been trying to use a serial port to fire pins connected to a
electronic device using RTS and DTR lines but it's too slow in Windows
CE.
So I would like to test using a parallel port, but I can't find
information about that.
How can I fire a specific data line of parallel port in Compact
Framework?
Where I can find information about that?
Thanks in advance
Best regards