Previous Next Up Title Contents General Index Functions Index Bookshelf

SET PICK MODE

pset_pick_mode


CALL SEQUENCE

void pset_pick_mode (ws_id, pick_dev, mode, echo_switch)

INPUT PARAMETERS

Pint	ws_id,
Pint 	pick_dev,
Pop_mode	mode,
Pecho_switch	echo_switch

ARGUMENTS

ws_id,
Workstation identifier
pick_dev,
Pick 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 PICK device number pick_dev of workstation ws_id, with activation or deactivation of echo.

Example:

/* On workstation number 1 set pick mode for device number 1 to be EVENT with regular echoing. */
	pset_pick_mode(1,1,POP_EVENT,PSWHICH_ECHO);

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
60
Ignoring function, specified workstation is not of category OUTIN
250
Ignoring function, the specified device is not available on the specified workstation

SEE ALSO

initialize pick 3, request pick 3, sample pick 3, get pick 3, await event, inquire pick device state 3, inquire default pick device state 3


Previous Next Up Title Contents General Index Functions Index Bookshelf