Intermec Janus 2020 Reference Manual - Im_Irl_K
im_irl_k
3-51
3
im_irl_k
Purpose:
This procedure receives input from the keypad in any format in the same
manner as IRL ASCII input command K. This procedure returns the input
data to the buffer, edits reader commands, and displays input data. For
more information on IRL and command K, refer to the IRL Programming
Reference Manual.
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
procedure im_irl_k (
timeout : In System.Word;
test_table : In IM_LENGTH_SPEC_ARRAY_PTR;
mask_string : In String;
irl_string : Out String;
cmd_count : Out System.Word;
status_code : Out System.Word);
IN Parameters:
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
No wait
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.
Data is returned only if its length matches one of the five lengths specified
in the test_table. The test_table parameter must be a matrix in this form:
{a, b, c, d},
{a, b, c, d},
{a, b, c, d},
{a, b, c, d},
{a, b, c, d},