next up previous contents index
Next: Initializing Logical Input Up: Graphical Input Previous: Input Modes

Request Input Functions

To request input one of the following calls needs to be made.

Locator
CALL GRQLC(WKID, LCDNR, STAT, TNR, PX, PY)
WKID
(I) Workstation identifier
LCDNR
(I) The number of the logical locator device (usually 1).
STAT
(O) Error status (integer)
TNR
(O) The Normalization Transformation number used to convert the input position to World Coordinates.
PX,PY
(O) The returned coordinates in WC.
String
CALL GRQST(WKID, STDNR, STAT, LOSTR, STR)
WKID
(I) Workstation identifier
STDNR
(I) The number of the logical string device (usually 1).
STAT
(O) Error status (integer)
LOSTR
(O) string length
STR
(O) The returned character string
Stroke
CALL GRQSK(WKID, STDNR, N, STAT, TNR, NPX, PX, PY)
WKID
(I) Workstation identifier
STDNR
(I) The number of the logical stroke device (usually 1).
N
(I) Maximum number of points (size of point arrays).
STAT
(O) Error status (integer)
TNR
(O) The Normalization Transformation number used to convert the input position to World Coordinates.
NPX
(O) Number of points returned.
PX,PY
(O) The returned coordinate arrays (WC).
Valuator
CALL GRQVL(WKID, VLDNR, STAT, VAL)
WKID
(I) Workstation identifier
VLDNR
(I) The number of the logical valuator device (usually 1).
STAT
(O) Error status (integer)
VAL
(O) The returned value (real number).
Choice
CALL GRQCH(WKID, CHDNR, STAT, CHNR)
WKID
(I) Workstation identifier
CHDNR
(I) The number of the logical choice device (usually 1).
STAT
(O) Error status (integer)
CHNR
(O) The returned choice number (integer).
Pick
CALL GRQPK(WKID, PCDNR, STAT, SGNA, PCID)
WKID
(I) Workstation identifier.
PCDNR
(I) The number of the logical pick device (usually 1).
STAT
(O) Error status (integer)
SGNA
(O) Picked segment name.
PCID
(O) Pick identifier (integer set by GSPKID).

Janne Saarela
Mon Apr 3 17:00:12 METDST 1995