Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

to call a func after getting new data in status port of parallel port

I connected a knob to my PC through parallel port.I have used status port to read digital inputs (A,B,Mark) from knobs.I want to call a function(like interrupt service routine) as soon as a new entry has been found in status port.I don't want to use polling method using timer(as minimum timer interval is 55 ms).In serial port I used the below said function to face this type condition.
 InstallComCallback (Comport, LWRS_RXCHAR, 1, 0, ComCallback, NULL); 
Please suggest.
0 Kudos
Message 1 of 2
(3,282 Views)
Hello Tupai:

Have you searched msdn.com to see if there is any callback functions for what you are trying to accomplish?

Regards,

Roland A.
Applications Engineer
National Instruments

Check out VI Roadshow
0 Kudos
Message 2 of 2
(3,241 Views)