Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqdvl(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQDVL(3g)  —  Subroutines

Name

PQDVL − Returns valuator device information. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function

Old Syntax

 

PQDVL (WTYPE, DEVNO, N, MLDR, ERRIND, DVAL, OL, PET, EAREA, LOVAL,
HIVAL, LDR, DATREC)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
DEVNO             Integer        Read      Logical input device number
N                 Integer        Read      Sequence number of the list
                                           element requested
MLDR              Integer        Read      Dimension of the data record
                                           array
ERRIND            Integer        Write     Error indicator
MBUFF             Integer        Write     Maximum string buffer size
DVAL              Real           Write     Default initial value
OL                Integer        Write     Number of available PETs
PET               Integer        Write     Nth element of the list of
                                           available PETs
EAREA(4)          Array of       Write     Default echo area, in device
                  reals                    coordinates (XMIN, XMAX, YMIN,
                                           YMAX)
LOVAL, HIVAL      Real           Write     Minimum and maximum valuator
                                           values
LDR               Integer        Write     Number of array elements used in
                                           a data record
DATREC(MLDR)      Character ∗80  Write     Data record
---------------------------------------------------------------------------

New Syntax

 

PQDVL (WTYPE, DEVNO, N, MLDR, ERRIND, DVAL, OL, PET, EAREA,
LDR, DATREC)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
DEVNO             Integer        Read      Logical input device number
N                 Integer        Read      Sequence number of the list
                                           element requested
MLDR              Integer        Read      Dimension of the data record
                                           array
ERRIND            Integer        Write     Error indicator
MBUFF             Integer        Write     Maximum string buffer size
DVAL              Real           Write     Default initial value
OL                Integer        Write     Number of available PETs
PET               Integer        Write     Nth element of the list of
                                           available PETs
EAREA(4)          Array of       Write     Default echo area, in device
                  reals                    coordinates (XMIN, XMAX, YMIN,
                                           YMAX)
LDR               Integer        Write     Number of array elements used in
                                           a data record
DATREC(MLDR)      Character ∗80  Write     Data record
---------------------------------------------------------------------------

Description

PQDVL queries the workstation description table and returns values for the following:

•Default initial value

•List of available prompt and echo types

•Default echo area in device coordinates

•Default valuator data record

See Chapter 9 for information on building data records for initializing input devices.  DATREC corresponds to the data record for PET 1. 

See Also

PINVL
PQDVL3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026