RFID MiniLab Notebook - Joshua Bailey, Ben Meeks, Manuel

assistantashamedΔιαχείριση Δεδομένων

29 Νοε 2012 (πριν από 4 χρόνια και 11 μήνες)

229 εμφανίσεις

RFID

[mini]
Lab
Notes
UserName/Passwords

................................
................................
................................
.........

3

Hardware Information

................................
................................
................................
.........

4

Computer 1
................................
................................
................................
......................

4

Computer 2
................................
................................
................................
......................

4

Computer 3
................................
................................
................................
......................

4

General Reader Information

................................
................................
...........................

4

Alien Serial Connection for HyperTerminal
................................
................................
...

5

Matrics and Symbol Connection for HyperTerminal

................................
.....................

5

ThingMagic Connection for Hyperterminal

................................
................................
...

5

Testing
................................
................................
................................
................................
.

6

JTrac

................................
................................
................................
................................
....

7

Quick Facts

................................
................................
................................
.....................

7

TagCentric Databases

................................
................................
................................
.........

8

MySQL

................................
................................
................................
...........................

8

Derby
................................
................................
................................
.............................

10

Postgresql

................................
................................
................................
......................

11

Troubleshooting

................................
................................
................................
................

12

Contacts
................................
................................
................................
.............................

13

3


UserName/Passwords

The UserName for the RFIDmini Lab is
rfid
. The lab has a main password that is used
for almost everything. Please obtain this password by asking a previous lab user. Here i
s
a list of exceptions to the UserName/Password rule:

Program, System, etc

UserName

Password

MySql

root

sqlpw

Alien Reader

alien

password

Matrics

admin

admin

Symbol

admin

admin


4


Hardware Information

Readers

IP

Mac

Symbol

130.184.185.24

00:A0:F8:C1:E
5:96

Alien

130.184.185.22

00:90:C2:C3:C5:E0

Matrics

130.184.185.23

00:0D:03:00:24:BE

ThingMagic

130.184.185.89

00:12:A4:10:03:43

Printer

130.184.185.88




Computer 1

-

Slowest in the lab

-

Connected to the Zebra Printer

-

Does not have Windows

-

Networked

-

Tag
Centric on Linux

Computer 2

-

Fastest in the lab

-

Dual Boot; Default OS is Windows

-

Runs JTrac

-

Networked

-

TagCentric on Windows

Computer 3

-

Speed is between Computers 1 and 2

-

Dual Boot; Default OS Linux

-

Networked

-

Does not have C support

-

TagCentric on Linux


Gene
ral Reader Information

-

Use only the power cord whose label matches the reader.

-

Never unplug antennae from the reader while the reader is powered up.

-

All readers listed above are setup to work with TCP/IP.

-

Most readers are configurable via serial connectio
n through hyper terminal and
via TCP/IP through HTTP or Telnet.

-

The Alien reader will connect to the Matrix antennae just by using one line. This
is because it turns the antennae into two smaller antennae at full duplex, so you
could hook up two lines and
have two smaller antennae using one single Matrix
antennae box.

-

Given the readers
-
to
-
antennae ratio in the lab, at most we could have 3 different
kinds of readers hooked up. If you were using only Alien readers, you could hook
up 4 readers.

-

We have a set o
f Class 1 Gen 1 and Class 1 Gen 2 tags that are working and
labeled as such for testing.




5


Alien Serial Connection for HyperTerminal

Baud Rate: 115200

Data Bits: 8

Parity: None

Stop Bits: 1

Flow Control: None


Matrics and Symbol Connection for HyperTermin
al

Baud Rate: 38400 bps

Data Bits: 8

Parity: None

Stop Bits: 1

Flow Control: None

Hardware: None


ThingMagic Connection for Hyperterminal

Unknown

6


Testing

The testing procedure is found in the lab for regression testing purposes on TagCentric.
Current limi
tations are as follows:

-

Reinstall TagCentric for each database you test with

-

Up to 4 real readers can be tested at once

-

Up to 3 desktops can be tested at once

-

Up to 3 Linux or 2 Windows can be tested at once, or any combination thereof

-

Testing by hand is t
he reality for now, automation would be nice

-

Any problems are reported on JTrac

-

Each reader is in front of the antennae it is hooked up to for added convenience.


7


JTrac

JTrac is our Web
-
Based issue
-
tracking software. It is used to track bugs, suggestions,

solutions and monitor project tasks, status, and assignments.


Quick Facts

-

JTrac is housed on Computer 2 running as a Windows Service

-

The computer must by logged into Windows for JTrac to work. For best results,
login to Computer 2 and then lock it (Ctl +

Alt+ Del, Click “Lock Computer”)
when it is not in use

-

If the box should lose power. It must be restarted manually by pressing the power
button followed by logging into Windows

-

JTrac follows the standard UserName/Password rule.

-

Link:
http://130.184.185.21/jtrac/app



8


TagCentric Databases


MySQL

The MySQL Database Management System (DBMS) is installed under Unix on
Computer 3 and under Windows on Computer 2. On both systems,


Username: root

Password: sqlpw


In both cases, the MySQL server is setup such that it will only accept connections from
localhost, so to use TagCentric to access them, the first instance of TagCentric must be
run on the computer where the database to be used is installed. To start the M
ySQL
server in Unix, at a shell, enter:


cd /usr/local/mysql/bin

sudo ./mysqld_safe


To get a MySQL client prompt, at a shell, enter:


cd /usr/local/mysql/bin

./mysql

user=root
--
password


In Windows, MySQL starts on startup. A MySQL client prompt is ava
ilable on the Start
Menu.


To make MySQL work with TagCentric, one must have the MySQL JConnector.
Rename the JConnector JAR file to mysql.jar and copy it to


<tagcentric_install_dir>/ext/



9


Setting MySql in TagCentric




10


Derby

Installing a Derby data
base is possible with just TagCentric and the Java Runtime
Environment. It is an option at install time. Just choose an installation directory and no
further setup is necessary.




11


Postgresql

Here again, to use postgresql, the first instance of TagCent
ric must be run from the
computer where Postgresql is installed. To start the postgresql server, at a shell, type:


cd /usr/local/pgsql/bin

su postgres

./postgres
-
D /usr/local/pqsql/data







12


Troubleshooting



Problem

Possible Cause

Possible Fix

T1.
Reader is printing out
junk or rebooting when
issued certain commands.

1. Mismatched power
supply.


2. Baud rate and/or other
hardware settings are
incorrect.

1. Find the correct power
supply and use it.


2. Find the correct
configuration and use it.

T2.
HyperTerminal or
equivalent does not give the
user output or a chance to
enter commands for a
reader.

1. Reader has already
powered up and is waiting
for user input.

1. Hit Enter and a prompt
should appear. If this
doesn’t work, try
摩獣潮湥c瑩湧⁴ e⁰潷 r

晲潭⁴桥⁲ a摥爠a湤n
牥c潮湥c瑩湧⁩ ⸠奯甠獨.畬搠
獴慲琠t漠獥e⁢潯琠 e煵qnce
楮景i浡瑩潮⁡灰ma爬⁴桥渠桩h
e湴敲⁷桥渠楴⁩猠晩湩獨s搮

吳⸠T⁢畮
c栠潦‿??????????
a灰pa爠楮⁴桥
䕮E扬支䑩獡扬攠
扵瑴潮o
呡gCe湴物n.

ㄮ⁄1瑡扡獥 c潮晩g畲a瑩潮⁩猠
扡搠潲⁩琠d猠瑡s
楮i⁡睨楬攠景f
瑨攠摡瑡扡獥 age湴⁴漠獴ar琮

ㄮ⁗a楴⁦潲⁡扯畴⁡楮畴e
景f⁴桥⁡来湴⁴漠獴a牴⁵瀮r䥦⁩
楳⁳瑩汬⁳楴瑩湧⁴桥 eⰠ,桥c欠
瑨攠摡瑡扡獥⁳e瑵瀯獥瑴楮杳i
瑯⁥湳畲e⁴桥y⁡牥⁣o牲ect
a湤⁴ny aga楮i

T4. The reader won’t read
瑡t献

ㄮ⁎潴⁨潯步搠異⁴d

灯睥爬r
a湴敮湡eⰠa湤⽯爠湥瑷t牫.




㈮⁓ee⁔ㄠ 扯癥.


㌮⁁湴3湮ne⁇a楮⁴畲湥搠
摯睮d

ㄮ⁅湳畲e⁲ a摥爠ra猠灯se爬r
楳⁰i畧ue搠楮d漠瑨攠桵戠o湤n
a湴敮湡eⰠa湤⁨n猠扯潴ed
異u


㈮⁓ee⁔ㄠ 扯癥.


㌮⁓e琠慮瑥湮ne 条楮⁶ia⁴桥
䡔呐⁩湴e牦ace.

吵⸠Typni⁩猠 湳瑡汬n
搬⁴桥d
獥牶r爠楳⁲r湮楮gⰠ扵琠
呡gCe湴物n⁷潮D琠捯湮ec琠t漠
楴i

ㄮ⁔1gCe湴物n⁤潥獮D琠桡te
瑨攠typni⁊c潮湥c瑯爠
g䅒A

ㄮ⁒e湡浥⁴桥
Mypni⁊c潮湥c瑯爠
g䅒⁴漠my獱氮sa爠
a湤潶攠楴⁴漠
<瑡gce湴物c彨潭放L
ex琯

吶⸠剥T摥爠r潮D琠慣ce灴p
c桡nge献

ㄮ⁓潭攠oea摥牳⁨r癥

“commit changes” option
瑨慴畳t⁢ ⁳ 汥l瑥搠扥f潲o
c桡nge猠睩汬⁴慫 e晦ec琮

1. Select “commit
changes.”

吷⸠䍡渧琠捨ange⁤a瑡扡se献

ㄮ†䅴⁴桥⁴業e映瑨楳
摯d畭敮瑡瑩潮Ⱐ潮o畳
牥楮獴a汬⁔ gCe湴物n⁴漠
獷楴捨⁤s瑡扡獥献



Reinstall TagCentric
and set
up for the
new database.

13


Contact
s

Josh Bailey

jlb02@uark.edu


Ben Meeks

jbmeek@uark.edu


Manuel Stuart

manuel.stuart@gmail.com