PINVL3 (WKID, VLDNR, IVAL, PET, EVOL, LDR, DATREC)
INTEGER WKID INTEGER VLDNR REAL IVAL INTEGER PET REAL EVOL(6) INTEGER LDR CHARACTER*80 DATREC(LDR)
Devices 21 to 30 are available, each assigned to a different scale widget.
The following echo types are available:
1: Displays the valuator in the echo volume inside the graphic window.
Echo volume is given in DC coordinates
-1: Displays the valuator device in a separate window
Echo volume is given in percent of the RootWindow size.
The PPREC function is to be called as follows:
Initialize real array RA:
RA(1): Low value.
RA(2): High value.
Initialize LSTR and STR string:
LSTR(1): length of the title of the valuator scale widget.
STR(1): title of the scale widget.
call PPREC(0,0,2,RA,1,LSTR,STR,MLDR,IERR,LDR,DATREC) Example: C Sample program to initialize a valuator device program valuator include 'PHIGS.H' parameter (MLDR=10) integer wkid,ierr,ldr,vldnr,pet real ra(2),defval,evol(6) character*80 datrec(MLDR) C Open PHIGS session call POPPH(6,-1) C Open workstation wkid = 1 call POPWK(wkid,1,8887) C initialize valuator device 21 with echo number -1 ra(1) = 0. ra(2) = 100. call PPREC(0,0,2,ra, 1,10,'Parameter1',MLDR,ierr,ldr,datrec) pet = -1 evol(1) = 0. evol(2)= .95 evol(3)= .3 evol(4)= 1. evol(5)= 0. evol(6)= 1. defval = 30. vldnr = 21 call PINVL3(wkid,vldnr,defval,pet,evol + ,ldr,datrec) C Close workstation call PCLWK(wkid) C Close PHIGS call PCLPH end
initialize valuator, set valuator mode, request valuator 3, sample valuator 3, get valuator 3, inquire valuator device state 3, inquire default valuator device state 3, inquire number of available logical input devices