[  Previous  |
Next  |
Contents  |
Glossary  |
Home  |
Search  ]
The graPHIGS Programming Interface : Subroutine Reference
GPPKMO - Set Pick Mode
| GPPKMO
(wsid,
device,
mode,
echosw) | 
Purpose
Use
GPPKMO
to set the operating mode of the specified pick device.
After the pick mode is set, its
echoing state is set to
1=NOECHO
 or
2=ECHO
 based on the
echosw parameter.
Depending on the specified operating mode,
1=REQUEST, 2=SAMPLE,
 or
3=EVENT
,
an interaction with the given device may begin or end.
Note: 
The input device is reset with the initialization values when
the
GPPKMO subroutine is called with
mode parameters
set to SAMPLE or EVENT.
Parameters
wsid -- specified by user, fullword integer
Workstation identifier.
device -- specified by user, fullword integer
Pick device number (>=1)
mode -- specified by user, fullword integer
Operating mode
(1=REQUEST, 2=SAMPLE, 3=EVENT
)
echosw -- specified by user, fullword integer
Echo switch
(1=NOECHO, 2=ECHO
)
Error Codes
- 25
 
- SPECIFIED WORKSTATION DOES NOT EXIST
 
- 140
 
- DEVICE NUMBER < ONE OR DEVICE NOT AVAILABLE
 
- 168
 
- INPUT DEVICE IS CURRENTLY OWNED BY ANOTHER CONNECTION
 
- 326
 
- OPERATING MODE IS INVALID
 
- 327
 
- ECHO SWITCH VALUE IS INVALID
 
Related Subroutines
- GPQLI
 
- Inquire List of Logical Input Devices
 
RCP code
201335813
(X'0C002405')
[  Previous  |
Next  |
Contents  |
Glossary  |
Home  |
Search  ]