SET STRING MODE
CALL SEQUENCE
void pset_string_mode (ws_id, string_dev, mode, echo_switch)
CALL SEQUENCE
Pint ws_id,
Pint string_dev,
Pop_mode mode,
Pecho_switch echo_switch
CALL SEQUENCE
- ws_id,
- Workstation identifier
- string_dev,
- String 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 STRING device number string_dev of workstation
ws_id, with activation or deactivation of echo.
-
-
- Example:
/* On workstation number 1 set string mode for device number 1 to be EVENT with regular echoing. */
pset_string_mode(1,1,POP_EVENT,PSWITCH_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 string 3, request string 3, sample string 3, get string 3, await
event, inquire string device state 3, inquire default string device state 3