Previous Next Up Title Contents General Index Functions Index Bookshelf

SAMPLE VALUATOR

PSMVL


CALL SEQUENCE

PSMVL (WKID, VLDNR, VAL)

INPUT PARAMETERS

INTEGER	WKID
INTEGER	VLDNR

OUTPUT PARAMETERS

REAL	VAL

ARGUMENTS

WKID
Workstation identifier.
VLDNR
VALUATOR input device identifier.
VAL
Current scalar value.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Reads the current real number on the active input device, VLDNR.

Example:

C Sample valuator
	REAL WKID,VLDNR,VAL
	......
	WKID = 1
	VLDNR = 21
	call PSMVL(WKID,VLDNR,VAL)
	......

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
61
Ignoring function, specified workstation is neither of category INPUT nor of category OUTIN
250
Ignoring function, the specified device is not available on the specified workstation
252
Ignoring function, the function requires the input device to be in SAMPLE mode

SEE ALSO

set valuator mode, initialize valuator 3, request valuator, get valuator, await event, inquire valuator device state 3, inquire default valuator device state 3


Previous Next Up Title Contents General Index Functions Index Bookshelf