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

GPSMVL - Sample Valuator

GPSMVL (wsid, device, value)

Purpose

Use GPSMVL to retrieve the current measure of the specified valuator device.

The delivered value is in the range specified for this device 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)

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

Related Subroutines

GPQLI
Inquire List of Logical Input Devices
GPVLMO
Set Valuator Mode

RCP code

201335555 (X'0C002303')


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