05-09-2013 05:00 PM
Well im using a ID12/ID20 as RFID Reader, and i have to wait for my input before my code has to do anything ( Door Lock ), it works but only in a specific period sadly, but thats good for now
05-09-2013 05:05 PM
I see what you mean, you could put the Serial Find Regex in a loop and wire the timeout to continue the loop, stop the loop whenever timeout is false and output the read data.
05-09-2013 05:07 PM
And how do you check if the timeout is false ? But i see what you mean, could be an idea.
05-09-2013 05:34 PM
Check the Serial Find Regex vi.. That does a read in a loop with a timeout, You can make your own version to work as you like.
05-10-2013 08:43 AM
I tired but cant seem to get it working correctly do you have any ideas ?
05-10-2013 04:17 PM
You have to give me some details, show me some VIs, explain where the troubles are. Without seeing the hardware and with no description of the problem I have no idea.
05-11-2013 02:38 AM
This is the Images i got, i hope this can help
The problem is the read vi, i have to read my RFID tag at a specific time in the loop, but i want to make it read constantly and when i get a tag then spit the tag out to me and do a task.
i made a few vi's and its the same, maybe iits just me and the code setup but im just a hobby coder 😛
05-15-2013 10:45 AM
Is this something you can help with ?
05-15-2013 11:34 AM
Ok sorry about the delay, I'm in the middle of a pretty time-intensive project. Let me explain some things here and then offer you a few suggestions:
Can I assume that you just need a VI that continously reads until you see "470025D6FA4E and then returns a match found true? Do you need a timeout like say wait 10 seconds and then return if it doesn't see that? If you can tell me exactly what you want your VI to do I can write one up real quick and put it here for you to use.
05-15-2013 11:48 AM
Well right now im trying to read a spreadsheet and then read it as an array, and make it search for the string im getting.
But the "470025D6FA4E" number is a RFID ID, and im going to get alot of ID's.
i tried your Regex Serial Read but thats the same thing, im getting it way to late ( Would really love it instantly (Or very close to))
also tried with the length of the string and it works but still the same thing, i can wait along time or i can read the card at a specific time in the loop.
i could send you the big VI i got on the door lock im creating, then you can check out the code and see if there's something you could do to read "faster" or better timeframe