Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE CHOICE DEVICE STATE

PQCHS


CALL SEQUENCE

CALL PQCHS	(WKID, CHDNR, MLDR, ERRIND, MODE, ESW, ISTAT, ICHNR, PET, EAREA, 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
INTEGER ESW
Echo presence indicator
INTEGER ISTAT
Initial state
INTEGER ICHNR
Initial choice number.
INTEGER PET
Echo/notification type.
REAL EAREA(4)
Echo zone in DC (Device Coordinates)
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 2D 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, set choice mode, inquire default choice device data.


Previous Next Up Title Contents Index Functions Index Top Library