LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I detect the same serial entry twice in a row?

Hello,
 
I am new to the VISA functions.  I am trying to read a serial cable connected to an RFID reader.  I have 2 different RFID tags that generate 2 different signals.  I can read the first tag, then read the second tag, then read the first tag again.  When I try to read the first tag 2 times in a row, the program only receives the signal once.  I am using VISA Read to detect the signals and I do not have any errors listed.  Could you please tell me why I cannot detect the same tag twice in a row?  Thanks in advance for the help.
0 Kudos
Message 1 of 3
(2,642 Views)

This probably has to do with the reader. If it's set to send the tag data as soon as it reads it, it will only send it once to avoid sending repeated data. Only after you read another tag will it send the first tag again. At least that's what I've seen with RFID. You could probably change this setting in the reader itself.

P.S. Did you try this in Hyperterminal?

If this didn't help, you should post your code and more details about your reader.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,628 Views)
Thanks for the help!  You were right about the problem being related to the reader.  I am using the Tiris S251B reader that comes with its own software.  When I used the software that came with the product it was able to scan the tag twice.  When I tried to re-create the software in LabVIEW, I could not detect the tag twice in a row because one of the pins was set to its default value.  This meant that it ran in "Normal mode" causing the identification to be compared to what was in the buffer.  The data would be overwritten only if it was different from what was contained in the buffer.  You have saved me hours of work.  Thank you!
0 Kudos
Message 3 of 3
(2,617 Views)