INQUIRE CHOICE DEVICE STATE 3
-
CALL SEQUENCE
CALL PQCHS3 (WKID, CHDNR, MLDR, ERRIND, MODE, ESW, ISTAT, ICHNR, PET, EVOL, LDR, DATREC)
INPUT PARAMETERS
- INTEGER WKID
- Workstation identifier.
- INTEGER CHDNR
- CHOICE input device number.
- INTEGER MLDR
- Data record list dimension.
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER MODE
- Operating mode
- PREQU :
- 0 (REQUEST)
- PSAMPL :
- 1 (SAMPLE)
- PEVENT :
- 2 (EVENT)
- INTEGER ESW
- Echo indicator
- PNECHO :
- 0 (NO ECHO)
- PECHO :
- 1 (ECHO)
- INTEGER ISTAT
- Initial state
- POK :
- 1 (OK)
- PNCHOI :
- 2 (NO CHOICE)
- INTEGER ICHNR
- Initial choice number.
- INTEGER PET
- Echo/notification type.
- REAL EVOL(6)
- Echo volume in DC (Device Coordinates)
- XMIN, XMAX, YMIN, YMAX, ZMIN, ZMAX.
- INTEGER LDR
- Number of elements used in the record.
- CHARACTER*80 DATREC(MLDR)
- Data record.
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Returns the parameters associated with the 3D CHOICE input device number
CHDNR. If the data is available, error indicator is returned as 0.
The data is read from the workstation state list.
See INITIALIZE CHOICE for a description of the choice data record.
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
-
SEE ALSO
initialize choice 3, set choice mode, inquire default choice device data 3.