SET LOCATOR MODE
CALL SEQUENCE
void pset_loc_mode(
Pint ws_id, /* workstation identifier */
Pint loc_dev, /* locator device number */
Pop_mode mode, /* operating mode */
Pecho_switch echo_switch /* echo switch */
)
TYPES
typedef enum {
POP_REQ,
POP_SAMPLE,
POP_EVENT
} Pop_mode;
typedef enum {
PSWITCH_NO_ECHO,
PSWITCH_ECHO
} Pecho_switch;
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Set input mode for LOCATOR device number loc_dev of workstation
ws_id, with activation or deactivation of echo.
Example:
/* On workstation number 1 set locator mode for device number 2 to be EVENT with no echoing. */
pset_loc_mode(1,2,POP_EVENT,PSWHICH_NO_ECHO);
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 3, request locator 3, sample locator 3, get locator 3, await
event, inquire locator device state 3, inquire default locator device state 3