im_irl_n
4-26
im_irl_n
Purpose
This function receives numeric input from the keypad or a label in the same
manner as IRL command N (numeric input). Nonnumeric data is not
accepted as valid input. This function returns the input data to the buffer and
displays the data.
Syntax
#include "imt209x.h"
IM_USHORT im_irl_n
(IM_USHORT
timeout,
IM_LENGTH_SPEC
test_table[],
IM_UCHAR
*instring,
IM_USHORT
*cmd_count,
IM_DECTYPE
*symbology);
IN Parameters
timeout Specifies the receive timeout period. The return status indicates
whether the function was successful or a timeout occurred. Either enter a
number from 1 to 65,534 to indicate the length of the timeout in
milliseconds, or choose one of these constants:
IM_ZERO_TIMEOUT No wait.
IM_INFINITE_TIMEOUT Wait forever—the function does not return
until the end of message character has been received.
test_table Specifies acceptable lengths for input. Data is
returned only if its length matches one of the five lengths
specified in the test_table. The test_table parameter is a
matrix in the form shown to the right:
a This position in the matrix is one of these values:
{a, b, c, d},
{a, b, c, d},
{a, b, c, d},
{a, b, c, d},
{a, b, c, d},
IM_NO_LENGTH Accept data of any length. Set any
unused table entries to {IM_NO_LENGTH,0,0,0}.
IM_LENGTH Accept data with a specific length. The
actual length of the data string is placed in the d position
(and b and c are not used).
IM_RANGE Accept data within a length range. The data
length must be within the range of b and c (and d is not
used).
Summary of Contents for Trakker T2090
Page 1: ...TRAKKER T2090Batch Hand HeldComputer P N 067212 003 User s Manual ...
Page 4: ......
Page 14: ......
Page 19: ...Getting Started 1 ...
Page 20: ......
Page 33: ...User Interface 2 ...
Page 34: ......
Page 55: ...Application Development 3 ...
Page 56: ......
Page 61: ...Application Functions 4 ...
Page 62: ......
Page 127: ...Reader Command Reference 5 ...
Page 128: ......
Page 145: ...Configuration Command Reference 6 ...
Page 146: ......
Page 187: ...BIOS Support 7 ...
Page 188: ......
Page 205: ...Hardware Specifications 8 ...
Page 206: ......
Page 212: ......
Page 213: ...Demo Software A ...
Page 214: ......
Page 230: ......
Page 231: ...Microsoft Visual C C Settings B ...
Page 232: ......
Page 237: ...Full ASCII Charts C ...
Page 238: ......