[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPRQVL - Request Valuator

GPRQVL (wsid, device, status, value)

Purpose

Use GPRQVL to have the graPHIGS API execute a request to the specified valuator device.

The value returned is in the range specified by your application through the Initialize Valuator (GPINVL) subroutine.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

device -- specified by user, fullword integer

Valuator device number (>=1)

status -- returned by the graPHIGS API, fullword integer

Status of valuator input (1=NONE, 2=OK )

value -- returned by the graPHIGS API, short floating-point number

Value.

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
140
DEVICE NUMBER < ONE OR DEVICE NOT AVAILABLE
141
INPUT DEVICE NOT IN CORRECT MODE
168
INPUT DEVICE IS CURRENTLY OWNED BY ANOTHER CONNECTION

Related Subroutines

GPINVL
Initialize Valuator
GPQLI
Inquire List of Logical Input Devices
GPVLMO
Set Valuator Mode

RCP code

201335561 (X'0C002309')


[ Previous | Next | Contents | Glossary | Home | Search ]