02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TAGREAD<br />

Purpose Statement used to read an RFID tag field.<br />

Syntax TAGREAD|[,,,]<br />

Chapter —Program Instructions<br />

is the numeric variable to store the data. Only used with the<br />

"NUM" field in TAGFORMAT.<br />

is the string variable to store the data. The number of arguments<br />

depends on TAGFORMAT.<br />

Remarks The TAGREAD command reads the data from the field specified by the<br />

latest TAGFIELD command in to the variable or variables .<br />

The format of the data will be the one defined by the latest TAGFORMAT<br />

command. If you state a numeric variable , an error is returned<br />

unless the data is in the "NUM" format.<br />

Examples<br />

Related commands are TAGFIELD, TAGFORMAT and TAGWRITE.<br />

Using numeric variables:<br />

10 TAGFIELD "@DATA",2,2<br />

20 TAGFORMAT "NUM"<br />

30 TAGWRITE 19562<br />

40 TAGFIELD "@DATA",2,2<br />

50 TAGFORMAT "NUM"<br />

60<br />

RUN<br />

TAGREAD A%<br />

yields<br />

19562<br />

Reading a an SGTIN-96 tag from a Gen 2 tag:<br />

10 TAGFIELD "@EPC"<br />

20 TAGFORMAT "SGTIN-96"<br />

30 TAGREAD FILTER$, PREFIX$, ITEM$, SERIAL$<br />

40 PRINT FILTER$, PREFIX$, ITEM$, SERIAL$<br />

RUN<br />

yields for example<br />

3 0614141 100734 2<br />

<strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong> 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!