SET VALUATOR MODE
CALL SEQUENCE
void pset_val_mode (ws_id, val_dev, mode, echo_switch)
INPUT PARAMETERS
Pint ws_id,
Pint val_dev,
Pop_mode mode,
Pecho_switch echo_switch
ARGUMENTS
- ws_id,
- Workstation identifier
- val_dev,
- Valuator device number
- mode,
- Operating mode
- 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 VALUATOR device number val_dev of workstation
ws_id, with activation or deactivation of echo.
Example:
/* On workstation number 1 set valuator mode for device number 21 to be EVENT with regular echoing. */
pset_val_mode(1,21,POP_EVENT,PSWHICH_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 valuator 3, request valuator 3, sample valuator 3, get valuator 3,
await event, inquire valuator device state 3, inquire default valuator device
state 3
G5G - PHIGURE C Reference Manual V6.0