GET VALUATOR
CALL SEQUENCE
void pget_val (value)
OUTPUT PARAMETERS
Pfloat *value
ARGUMENTS
- value
- Valuator value
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Reads a VALUATOR event. The VALUATOR input logical value is read in the
current event report in the PHIGS state list. It is composed of
the real value read when the VALUATOR event is placed in the queue.
Example:
/* Event valuator */
Pfloat value;
......
pget_val(&value);
......
ERRORS
- 003
Function ignored, system state must be (PHOP, WSOP, *, *).
- 259
- Function ignored, input device in the current event report does not
correspond to that requested.
SEE ALSO
set valuator mode, initialize valuator, request valuator, sample valuator,
await event, flush device events, inquire valuator device state, inquire
default valuator device state