Previous Next Up Title Contents Index Functions Index Top Library

SET CHOICE MODE

PSET_CHOICE_MODE


CALL SEQUENCE

void pset_choice_mode(
)

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 CHOICE device number choice_dev of workstation ws_id, with activation or deactivation of echo.

Example:

/* On workstation number 1 set choice mode for device number 2 to be EVENT with regular echoing. */
	pset_choice_mode(1,2,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 choice 3, request choice 3, sample choice 3, get choice 3, await event, inquire choice device state 3, inquire default choice device state 3


Previous Next Up Title Contents Index Functions Index Top Library