PQVLS(3g) — Subroutines
Name
PQVLS − Returns information about the valuator device state.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Old Syntax
PQVLS (WKID, VLDNR, MLDR, ERRIND, MODE, ESW, IVAL, PET, EAREA, LOVAL,
HIVAL, LDR, DATREC)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
VLDNR Integer Read Valuator device number
MLDR Integer Read Dimension of the data record
array
ERRIND Integer Write Error indicator
MODE Integer Write Operating mode
ESW Integer Write Echo switch
IVAL Integer Write Initial value
PET Integer Write Prompt and echo type
EAREA(4) Array of Write Echo area, in device coordinates
reals (XMIN, XMAX, YMIN, YMAX)
LOVAL, HIVAL Real Write Minimum and maximum value
LDR Integer Write Number of array elements used in
a data record
DATREC(MLDR) Character ∗80 Write Data record
---------------------------------------------------------------------------
New Syntax
PQVLS (WKID, VLDNR, MLDR, ERRIND, MODE, ESW, IVAL, PET, EAREA,
LDR, DATREC)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
VLDNR Integer Read Valuator device number
MLDR Integer Read Dimension of the data record
array
ERRIND Integer Write Error indicator
MODE Integer Write Operating mode
ESW Integer Write Echo switch
IVAL Integer Write Initial value
PET Integer Write Prompt and echo type
EAREA(4) Array of Write Echo area, in device coordinates
reals (XMIN, XMAX, YMIN, YMAX)
LDR Integer Write Number of array elements used in
a data record
DATREC(MLDR) Character ∗80 Write Data record
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
MODE PREQU Request mode
PSAMPL Sample mode
PEVENT Event mode
ESW PNECHO Echo disabled
PECHO Echo enabled
---------------------------------------------------------------------------
Description
PQVLS queries the workstation state list and returns values for the following:
•Operating mode
•Echo switch
•Initial valuator value
•Prompt and echo type
•Echo area in device coordinates
•Valuator data record
See Chapter 9 for information on building data records for initializing input devices.
See Also
PINVL
PQVLS3
PSVLM