We have developed a Labview software (not RT) which executes various events according to a loop-routine. Each cycle can take different amount of time according to the actions it should perform.
Now we have implemented a device that places 3 different signals on the parallel port of the PC according an outside state. The device is only able to place the signal by 50 milliseconds. At this point we don't have any trouble; the Labview routine can read the three different signals accordingly.
The problem arises when the routine performs rapidly or very slowly: If it has to perform many actions it won't read the data on the port, but if it performs very rapidly it will read the data more than once.
Here we ask your kind help and guidance: how can we solve the problem above? Hopefully maintaining the hardware design (parallel port), and letting the main routine perform as it goes, I mean, without considering its execution time.
I appreciate any help on this matter.
Best regards,
Mauricio Vidal
VIDAL & ASTUDILLO Ltda.
http://www.vidalastudillo.com