Intermec Janus 2010 Reference Manual page 133

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

Advertisement

im_receive_buffer_noprot
This procedure receives a text string from the designated port without using
Purpose:
the active protocol. Only the PHIMEC.EXE protocol handler supports this
procedure, which is often used to receive a host initialization string before
beginning transmission.
With Intrmecd_IO, Intrmecp_IO;
Syntax:
Use Intrmecd_IO, Intrmecp_IO;
procedure im_receive_buffer_noprot (
IN Parameter:
The port parameter identifies the communications port as follows:
IM_COM1
IM_COM2
IM_COM4
The user_length parameter is the maximum number of characters you can
receive and must be at least 256 bytes.
The buffer parameter is the address of the buffer that will receive the data.
The buffer's length 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
port
: IN IM_COM_PORT;
user_length
: IN System.Word;
buffer
: IN System.Address;
timeout
: IN System.Word;
term_char
: IN Character;
comm_length
: OUT System.Word;
status_code
: OUT System.Word);
COM1.
COM2, scanner (2010 and 2050)
COM4 (RF only)
im_receive_buffer_noprot
No wait
3
3-93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Janus 2050Janus 2020Janus psk for ada

Table of Contents