Page 1 of 1

RFID Tag Javascript

Posted: Tue Aug 22, 2017 3:40 am
by rynocolyn@gmail.com
I am having issues testing the jscript RFID code. The rfid tag works when i run the suplied index.html on localhost, but not when i run the RFID.html page.

Re: RFID Tag Javascript

Posted: Tue Aug 22, 2017 8:56 am
by mparadis
RFID.html is meant to be launched through index.html. Simply plug in your Phidget and navigate down the tree menu in index.html until you find the RFID reader/writer object. Double click on it to launch RFID.html.

The reason it doesn't work if you run RFID.html directly is because there is no code inside RFID.html that handles matching and opening the RFID channel (this is all handled in index.html).