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

SAMPLE VALUATOR (PHOP,WSOP,*,*)

Purpose

Use Sample Valuator to retrieve the current measure of the specified valuator device.

The returned value is in the range specified for this device through the Initialize Valuator subroutine.

Language Bindings

C

psample_val (ws_id, val_num, value)

Input Parameters

Pint ws_id
Workstation identifier.

Pint val_num
Valuator device number (>=1).

Output Parameters

Pfloat *value
Valuator value.

FORTRAN

PSMVL (wkid, vldnr, val)

Input Parameters

integer wkid
Workstation identifier.

integer vldnr
Valuator device number (>=1).

Output Parameters

real val
Valuator value.

Errors

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
61
Specified Workstation Is Not Of Category Input Or Outin
250
Specified Device Not Available On Workstation
252
Function Requires Input Device To Be In Sample Mode

Related Subroutines

  • Inquire Number Of Available Logical Input Devices

  • Set Valuator Mode


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