Intermec Janus 2010 User Manual page 41

Application simulator
Hide thumbs Also See for Janus 2010:
Table of Contents

Advertisement

3
Learning About the INI File
For example:
port1_read_file = c:\payroll\temp\data1.rcv
port2_read_file = d:\sales\test2.rcv
port3_read_file = d:\sales\test3.rcv
port4_read_file = f:\mis\beta\sample4.rcv
The PSK function you use to read data from the RCV
file affects how you format the data in the file. For
example:
im_receive_byte This function reads one byte of data
from the file each time it is called. Carriage return (CR)
or line feed (LF) characters are returned as data to the
JANUS application.
With each subsequent call, im_receive_byte continues
reading data where it left off in the file until it reaches
an end-of-file (EOF) character. If im_receive_byte is
called again after reaching an EOF, the function starts
reading data at the beginning of the file again.
im_receive_buffer This function reads a buffer of data
each time it is called. Therefore, your RCV file should
contain a data string terminated by a CR/LF character.
The CR/LF indicates the end of the buffer. If there is no
CR/LF, the function reads up to 256 bytes of data.
With each subsequent call, im_receive_buffer continues
reading data where it left off in the file until it reaches
an EOF. If im_receive_buffer is called again after
reaching an EOF, the function starts reading data at the
beginning of the file again.
im_receive_input This function reads a line at a time,
similar to im_receive_buffer. However, because
im_receive_input accepts input from multiple sources,
when the function reaches the EOF, it does not start
reading data at the beginning of the file again. This
practice allows keyboard and wand input.
3-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Janus 2020Janus application simulator

Table of Contents