Programming instructions

178
Intermec Fingerprint 6.13 – Programmer's Guide
17. REFERENCE LISTS, cont'd.
COMMUNICATION, cont'd.
Background Communication:
COM ERROR<nexp>ON|OFF Stmt Enable/disable error handling
COMBUF$(<nexp>) Func Read communication buffer
COMSET<nexp>,<sexp>,<sexp>,<sexp>,<sexp>,<nexp> Stmt Set communication parameters
COMSET<nexp>ON|OFF Stmt Turn on/off background data reception
COMSTAT(<nexp>) Func Read communication buffer status
ON COMSET<nexp>GOSUB<nexp>|<line label> Stmt Branch at background comm. interrupt
FILE TRANSFER:
Binary Files:
TRANSFER K[ERMIT]<sexp>[,<sexp>[,<sexp>[,<sexp>]]] Stmt Data transfer using KERMIT
TRANSFER S[TATUS]<nvar>,<svar> Stmt Check last KERMIT transfer
FILE& LOAD<sexp>,<nexp>[,<nexp>] Stmt Receive and store binary files
Data Files:
TRANSFER$(<nexp>) Func Execute transfer and set time-out
TRANSFERSET[#]<nexp>,[#]<nexp>,<sexp>[,<nexp>] Stmt Enter setup for file transfer using TRANSFER$
Image Files:
IMAGE LOAD<sexp>,<nexp>,<sexp>[,<nexp>] Stmt Receive and convert .PCX files to images
RUN "pcx2bmp [-i][-v] <scon> [<scon>]" Convert image files in .PCX format
STORE<sexp> Stmt Store Intelhex frames of image data
STORE IMAGE[RLL][KILL]<sexp>,<nexp>,<nexp>,[<nexp>],<sexp> Stmt Set up image storage parameters
STORE INPUT<nexp>[,<nexp>] Stmt Receiving and storing image data
STORE OFF Stmt End storing of image data
SYSVAR(16|17) Array Read no. of bytes/frames received
INPUT TO FINGERPRINT
Input from Standard IN Channel:
INKEY$ Func Read 1:st character from std IN channel
INPUT[<scon><;|,>]<<nvar>|<svar>>[,<<nvar>|<svar>>...] IP Stmt Input to variables
INPUT$(<nexp>[,<nexp>]) Func Input, limited no. of characters
LINE INPUT[<scon>;]<svar> Stmt Input, entire line
Input from Host on Any Channel:
OPEN<sexp>FOR INPUT AS[#]<nexp> Stmt Open device
INPUT#<nexp>,<<nvar>|<svar>>[,<<nvar>|<svar>...] Stmt Input to variables
INPUT$(<nexp>[,<nexp>]) Func Input, limited no. of characters
LINE INPUT#<nexp>,<svar> Stmt Input, entire line
CLOSE[[#]<nexp>[,[#]<nexp>...]] Stmt Close device
LOC(<nexp>) Func Remaining no. of characters in receive buffer
LOF(<nexp>) Func Remaining free space in receive buffer
Input from Sequential File:
OPEN<sexp>FOR INPUT AS[#]<nexp> Stmt Open file
INPUT#<nexp>,<<nvar>|<svar>>[,<<nvar>|<svar>...] Stmt Input to variables
INPUT$(<nexp>[,<nexp>]) Func Input, limited no. of characters
LINE INPUT#<nexp>,<svar> Stmt Input, entire line
CLOSE[[#]<nexp>[,[#]<nexp>...]] Stmt Close file
EOF(<nexp>) Func End of file
LOC(<nexp>) Func Return current position in file
LOF(<nexp>) Func Return length of file
Input from Random File:
OPEN<sexp>AS[#]<nexp>[LEN=<nexp>] Stmt Open a random file
FIELD[#]<nexp>,<nexp>AS<svar>[,<nexp>AS<svar>...] Stmt Create a buffer for a random file
GET[#]<nexp>,<nexp> Stmt Read rec. from random file to random buffer
CLOSE[[#]<nexp>[,[#]<nexp>...]] Stmt Close file
LOC(<nexp>) Func Return current position in file or buffer
LOF(<nexp>) Func Return length of file
2. Instructions by Field of Application, cont'd.
Instruction Abbr. Type Purpose