im_transmit_buffer_noprot
im_transmit_buffer_noprot
This function transmits a buffer without protocol and sends only the
Purpose:
specified number of characters.
With Intrmecd_IO, Intrmecp_IO;
Syntax:
Use Intrmecd_IO, Intrmecp_IO;
) return System.Word;
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 to
transmit.
The buffer parameter is the address of the string to transmit.
The timeout parameter is the transmission timeout period. You can exit the
function before data is sent 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 IM_INFINITE_TIMEOUT is selected, the function will not return until the
end of message character has been received.
None.
OUT Parameter:
3-132
function im_transmit_buffer_noprot (
port
: IN IM_COM_PORT;
user_length
: IN System.Word;
buffer
: IN System.Address;
timeout
: IN System.Word
COM1
COM2, scanner (2010 and 2050)
COM4 (RF only)
No wait