Intermec Janus 2020 Reference Manual - Im_Irl_N
im_irl_n
3-55
3
im_irl_n
Purpose:
This procedure receives numeric input from the keypad or a label in the
same manner as IRL numeric input command N. Nonnumeric data is
ignored.
This procedure clears any data existing in the keypad or label buffers before
the function was called, edits reader commands from input, and displays
input data. For more information on IRL and command N, refer to the IRL
Programming Reference Manual.
This procedure corresponds to IRL command N. Refer to the IRL
Programming Reference Manual for more information on IRL commands.
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
procedure im_irl_n (
timeout : In System.Word;
test_table : In IM_LENGTH_SPEC_ARRAY_PTR;
irl_string : Out String;
cmd_count : Out System.Word;
symbology : Out IM_DECTYPE;
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.