AnsweredAssumed Answered

Wait for text input from external card reader

Question asked by carlsson on Sep 11, 2016
Latest reply on Sep 19, 2016 by carlsson

I'm very tired at the moment and this is probably very easy to solve, but at the moment I need help.

 

I have a layout where the user is supposed to draw a RFID card over a scanner. I want the numbers from the card to be registered in a global field or variable and then perform a search.

Simple, right?

 

However, there are some caveats:

- The system should detect by itself when there are no more digits coming from the reader.

- We don't know how many characters that's on the card. It could be all from 7-13.

- There are no stop character from the reader. They are just plain numbers, eg "7566984401".

Because of that I am thinking I must give the system one second to wait for more characters, my problem is that I can't get the timer to work. If I trigger it on a keystroke, it would be triggered for every number that's on the card, and it would be a mess. I have experimented with loops etc, but it gets very stupid in the end.

 

Any ideas or examples maybe?

 

Please help!

/andreas

Outcomes