[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE VALUATOR DEVICE STATE 3 (PHOP,WSOP,*,*)
Purpose
Use
Inquire Valuator Device State 3
to inquire the current state of the specified
valuator device on the specified workstation.
The graPHIGS API returns the values of the specified device.
The format and content of these values returned by the
graPHIGS API depends on the prompt/echo type defined in the
subroutine that initializes the input device.
If the information is available, then the graPHIGS API sets
the error indicator to zero and returns the values in
the output parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error indicator
to one of the following 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
Language Bindings
C
pinq_val_st3
(ws_id,
val_num, store, err_ind, op_mode, echo_switch,
init_value, prompt_echo, echo_vol, val_data) |
Pint ws_idWorkstation identifier.
Pint val_numValuator device number
(>=1).
Pstore storeHandle to the store object.
The graPHIGS API uses an object of type Store to facilitate
the use of subroutines which return complex data.
See Create Store
(
CREATE STORE (PHOP,*,*,*))
subroutine for details on how the graPHIGS API uses
this parameter on inquiries.
Pint *err_indError indicator.
Pop_mode *op_modeOperating mode
(0=POP_REQ,
1=POP_SAMPLE, 2=POP_EVENT).
Pecho_switch *echo_switchEcho switch
(0=PSWITCH_NO_ECHO,
1=PSWITCH_ECHO).
Pfloat *init_valueInitial value.
Pint *prompt_echoPrompt and echo type.
Plimit3 *echo_volEcho volume in DC.
Pval_data **val_dataData record.
The memory referenced by *val_data
is managed by the parameter store.
FORTRAN
PQVLS3
(wkid, vldnr, mldr,
errind, mode, esw,
ival, pet, evol,
ldr, datrec) |
integer wkidWorkstation identifier.
integer vldnrValuator device number
(>=1).
integer mldrDimension of the data record array
(>=0).
integer errindError indicator.
integer modeOperating mode
(0=PREQU, 1=PSAMPL, 2=PEVENT).
integer eswEcho switch
(0=PNECHO, 1=PECHO).
real ivalInitial value.
integer petPrompt and echo type.
real evol(6)Echo volume in DC
(XMIN, XMAX, YMIN, YMAX, ZMIN, ZMAX).
integer ldrNumber of array elements used in the data record.
character*80 datrec(mldr)Data record.
Errors
None
Related Subroutines
Initialize Valuator
Initialize Valuator 3
Inquire Default Valuator Device Data
Inquire Default Valuator Device Data 3
Inquire Valuator Device State
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]