Hi,
In my ProgramStarted() method I set the IdReceived event to the rfidReader_IdReceived method using this line of C# code:
rfidReader.IdReceived += rfidReader_IdReceived;
The problem is, when I swipe my RFID card numerous times, in a fast sequence, the swipes seem to get queued and execute the method those many times. I do not want this behavior.
What I would like is that the event is triggered, the reader is disabled until the method completes and then is re-enabled.
I have built a time clock, and it seems that the employees are clocking in and then are immediately getting clocked out, because they have unknowingly swiped more than once. I need to disable the reader while the method is processing the clock in or clock out process.
Any tips on how to do this?
Thanks, Benjamin