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.

OPEN, cont.<br />

Chapter —Program Instructions<br />

The following example opens the Net1 device to connect to the NIST<br />

Internet Time Service (ITS):<br />

10 OPEN "net1:time.nist.gov:13" AS 1<br />

20 PRINT #1, "time?"<br />

30 QTICKS% = TICKS<br />

40 WHILE TICKS-QTICKS% < 100<br />

50 LINE INPUT #1, A$<br />

60 IF A$"" THEN PRINT A$<br />

70 WEND<br />

80 CLOSE 1<br />

In the example above, socket port 13 is specified in row 10. Rows 30-40<br />

create a delay to allow the result to be received as A$ within the specified<br />

and reasonable amount of time, 100 ticks.<br />

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

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

Saved successfully!

Ooh no, something went wrong!