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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter —Program Instructions<br />

SYSHEALTH, cont.<br />

Example This example shows how the Ready-to-Work Indicator can be made to<br />

show a “Connection refused” condition:<br />

10 ON ERROR GOTO 1000<br />

50 TRANSFER NET<br />

"ftp://wrong.server.com/file","c/myfile"<br />

60 PRINT "XXX"<br />

100 END<br />

1000 IF ERR=1833 THEN SYSHEALTH=2 ELSE<br />

SYSHEALTH=3<br />

1010 RETURN<br />

You can find out the health of the system this way:<br />

A%=SYSHEALTH<br />

PRINT A%<br />

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

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

Saved successfully!

Ooh no, something went wrong!