Re: LPT DLL with interrupt



On Tue, 8 Jan 2008 12:01:00 -0800 (PST), Neila <david.marso@xxxxxxxxx>
wrote:

On Dec 31 2007, 6:56 am, Bu <a..j.m.weijenb...@xxxxxxxxx> wrote:
Hello,

I want to write a VB6 program using the LPT port. I found one or two
dll's i can use. However these dll's are not interrupt capable. I want
to use an interrupt when one of the control lines changes (for
instance strobe) in stead of polling this signal all the time (the
computer goes to max speed while it is just polling one signal!).
Also the signal might change only for a very brief time so when the
WinXP decides it needs to do something much more important it might
miss this signal all together.
So my question: Does anybody know a dll/ocx for the parallel port with
interrupt?
Bu

Poll it within a Timer Event
Neila, Thanks for the suggestion.
This is however not possible. I have to catch a 1 msec pulse of which
i do not know when it will happen. Also when it happens the next pulse
might be available in (i expect) 20-100 msec.
Bu
.



Relevant Pages

  • Re: Polling vs. Interrupts in counting pulses - what is better?
    ... If the change is slow compared with the polling cycle you can do, you can simply poll the inputs in a 1ms rate interrupt. ... If you don't mind losing the odd pulse (say a mouse or an encoder used as a volume etc. control), just ignore cycles where there's more than 1 state change, and resynch the process. ...
    (comp.arch.embedded)
  • Re: LPT DLL with interrupt
    ... Maybe you should repost in ... I want to write a VB6 program using the LPT port. ... However these dll's are not interrupt capable. ... computer goes to max speed while it is just polling one signal!). ...
    (comp.lang.basic.visual.misc)
  • Re: LPT DLL with interrupt
    ... I want to write a VB6 program using the LPT port. ... However these dll's are not interrupt capable. ... computer goes to max speed while it is just polling one signal!). ...
    (comp.lang.basic.visual.misc)
  • LPT DLL with interrupt
    ... I want to write a VB6 program using the LPT port. ... However these dll's are not interrupt capable. ... computer goes to max speed while it is just polling one signal!). ...
    (comp.lang.basic.visual.misc)
  • Re: LPT DLL with interrupt
    ... I want to write a VB6 program using the LPT port. ... However these dll's are not interrupt capable. ... BTW the TVicLPT driver catches pulses of less than 1 usec on the Ack ...
    (comp.lang.basic.visual.misc)