Section 13: LPT library function reference
Model 4200A-SCS Parameter Analyzer Reference Manual
13-176
4200A-901-01 Rev. C / February 2017
getstatus
This command returns various parameters pertaining to the state of the 4210-CVU.
Usage
int getstatus(int
instr_id
, long parameter, double *value);
instr_id
The instrument identification code of the 4210-CVU:
CVU1
parameter
Parameter to be queried; the macros for the
KI_CVU
parameters are defined in
lptparam.h
; see
Details
value
Returned value for the queried parameter
Details
Parameter:
Returns:
KI_CVU_LOAD_COMPENSATE
Load compensation (ON or OFF)
KI_CVU_OPEN_COMPENSATE
Open compensation (ON or OFF)
KI_CVU_SHORT_COMPENSATE
Short compensation (ON or OFF)
KI_CVU_CABLE_CORRECT
Current length setting for which the CVU card is correcting (0, 1.5, or 3)
KI_CVU_ACI_RANGE
AC current range (0 for auto range, or 1.5 µA, 50 µA, or 1.5 mA for fixed
range)
KI_CVU_ACI_PRESENT_RANGE
AC current range (1.5 µA, 50 µA or 1.5 mA); returns range used for last
measurement, even if on auto range
KI_CVU_ACV_LEVEL
AC voltage level (10 mV to 100 mV
RMS
)
KI_CVU_APERTURE
A/D aperture time (0.006 to 10.002 PLCs)
KI_INTGPLC
Integration (NPLC= 1/aperture time)
KI_CVU_DCV_LEVEL
DC bias voltage level (
−
30 V to 30 V)
KI_CVU_DELAY_FACTOR
Delay factor (0 to 100)
KI_CVU_FILTER_FACTOR
Filter factor (0 to 100)
KI_CVU_FREQUENCY
Drive frequency (1 kHz to 10 MHz)
KI_CVU_MEASURE_MODEL
Impedance measure model (0 through 5; see "Measurement model
parameter values" table below)
KI_CVU_MEASURE_SPEED
Measurement speed (fast, normal, quiet or custom)
KI_CVU_MEASURE_STATUS
Measurement status (for last reading); the measurement status codes are
listed and explained in
KI_CVU_MEASURE_TSTAMP
Measurement timestamp (for last reading)
Measurement model parameter values
Measurement model
Parameter value
ZTH
Impedance (Z) and phase (θ in degrees)
KI_CVU_TYPE_ZTH
or
0
RjX
Resistance and reactance
KI_CVU_TYPE_RJX
or
1
CpGp
Parallel capacitance and conductance
KI_CVU_TYPE_CPGP
or
2
CsRs
Series capacitance and resistance
KI_CVU_TYPE_CSRS
or
3
CpD
Parallel capacitance and dissipation factor
KI_CVU_TYPE_CPD
or
4
CsD
Series capacitance and dissipation factor
KI_CVU_TYPE_CSD
or
5