REQUEST VALUATOR
CALL SEQUENCE
PRQVL (WKID, VLDNR, STAT, VAL)
INPUT PARAMETERS
INTEGER WKID
INTEGER VLDNR
OUTPUT PARAMETERS
INTEGER STAT
REAL VAL
ARGUMENTS
- WKID
- Workstation identifier.
- VLDNR
- VALUATOR input device identifier.
- STAT
- State of request carried out.
- PNONE:
- 0 (NONE)
- POK:
- 1 (OK)
- VAL
- Selected scalar value.
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Request a real number by user action on the left mouse button of the active
input device VLDNR with the possibility of cancelling the input by
clicking on the right button of the mouse.
Example:
C Request valuator
REAL WKID,VLDNR,STAT,VAL
......
WKID = 1
VLDNR = 21
call PRQVL(WKID,VLDNR,STAT,VAL)
......
ERRORS
- 3
Ignoring function, function requires state (PHOP, WSOP,*,*)
- 54
- Ignoring function, the specified workstation is not open
- 61
- Ignoring function, specified workstation is neither of category INPUT nor
of category OUTIN
- 250
- Ignoring function, the specified device is not available on the specified
workstation
- 251
- Ignoring function, the function requires the input device to be in REQUEST
mode
SEE ALSO
set valuator mode, initialize valuator 3, sample valuator, get valuator, await
event, inquire valuator device state 3, inquire default valuator device state 3