Intermec Janus 2010 Reference Manual page 125

Intermec janus 2010: reference guide
Hide thumbs Also See for Janus 2010:
Table of Contents

Advertisement

im_receive_buffer
This procedure receives the contents of a data buffer from a designated
Purpose:
communications port.
With Intrmecd_IO, Intrmecp_IO;
Syntax:
Use Intrmecd_IO, Intrmecp_IO;
procedure im_receive_buffer (
The port parameter identifies the communications port as follows:
IN Parameter:
IM_COM1
IM_COM2
IM_COM4
The user_length parameter is the maximum number of characters to be
received and must be at least 256 bytes.
The buffer parameter is the address of the string that will receive the data.
The string must be at least 256 bytes.
The timeout parameter is the receive timeout period. You can exit the
function before data is received or before the timeout occurs by performing
an application break sequence (see your JANUS user's manual). The return
status indicates whether the function was successful, a timeout occurred, or
the application break was received.
The numeric range for timeout is from 1 to 65,534 ms. You can also use one
of the following constants:
IM_ZERO_TIMEOUT
IM_INFINITE_TIMEOUT Wait forever
If you select IM_INFINITE_TIMEOUT, the function will not return until the
end of message character has been received.
port
: IN IM_COM_PORT;
user_length
: IN System.Word;
buffer
: IN System.Address;
timeout
: IN System.Word;
comm_length
: OUT System.Word;
status_code
: OUT System.Word);
COM1
COM2, scanner (2010 and 2050)
COM4 (RF only)
im_receive_buffer
No wait
3
3-85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Janus 2050Janus 2020Janus psk for ada

Table of Contents