PSCHM(3g) — Subroutines
Name
PSCHM − Sets the operating mode and echo state of a choice device.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PSCHM (WKID, CHDNR, MODE, ESW)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
CHDNR Integer Read Choice device number
MODE Integer Read Operating mode
ESW Integer Read Echo switch
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
MODE PREQU Request mode
PSAMPL Sample mode
PEVENT Event mode
ESW PNECHO Echo disabled
PECHO Echo enabled
---------------------------------------------------------------------------
Description
PSCHM sets the specified choice device to the specified operating mode and sets the echo state of the device as specified. Depending on the specified input operating mode, Digital PHIGS may begin or end an interaction with the device.
Digital PHIGS stores the input device state defined by the operating mode and the echo switch in the workstation state list for the specified choice device. For more information on operating modes, see Input Operating Modes.
See Also
PGTCH
PINCH
PINCH3
PQCHS
PRQCH
PSMCH