INQUIRE LOCATOR DEVICE STATE 3
-
CALL SEQUENCE
CALL PQLCS3 (WKID, LCDNR, TYPE, MLDR, ERRIND, MODE, ESW, IVIEWI, IPW, IPY, IPZ, PET, EVOL, LDR, DATREC)
INPUT PARAMETERS
- INTEGER WKID
- Workstation identifier.
- INTEGER LCDNR
- LOCATOR type input device number.
- INTEGER TYPE
- Type of value returned
- PSET :
- 0 (SET)
- PREALI :
- 1 (REALIZED)
- 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 presence indicator
- PNECHO :
- 0 (NO ECHO)
- PECHO :
- 1 (ECHO)
- INTEGER IVIEWI
- Initial view index.
- REAL IPX, IPY, IPZ
- Initial locator position in WC (World Coordinates).
- INTEGER PET
- Type of echo/notification
- 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)
- Record.
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Returns the parameters associated with the 3D LOCATOR input device number
LCDNR. If the data is available, error indicator is returned as 0.
The data is read from the workstation state list.
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 locator, set locator mode, inquire default locator device
data.