PDA

View Full Version : please lead me to work with rfid



unforgiven
07-24-2012, 07:22 AM
Hi Folk
this is my first post .
i 'm coding with vb6 and recently bought RFID device model 230 with usb port . i can read serial card and show it in textbox .
as you know,for reading card(tag),developer should call about 4 event at 4 step :
call: MF_Request(0, 0, cardT(0))
MF_Anticoll(0, cardSN(0))
MF_Select(0, cardSN(0))
MF_Authentication(0, 0, 144, cardSN(0))

i put those code in event time:


Private Sub Timer1_Timer()
MF_Request(0, 0, cardT(0))
MF_Anticoll(0, cardSN(0))
MF_Select(0, cardSN(0))
MF_Authentication(0, 0, 144, cardSN(0))
end sub


in my project(time attendance) i should detect every card(tag) that near device. i want to know what is the best way that device ready to work ? and it's correct do ?

is there any way that rfid device should be always ready to work ? as back end work
any source code,sample or advice could be useful for me
thanks all