Model 4200A-SCS Parameter Analyzer Reference Manual
Section 13: LPT library function reference
4200A-901-01 Rev. C / February 2017
13-135
Also see
(on page 13-199)
(on page 13-9)
(on page 13-11)
(on page 13-92)
(on page 13-67)
(on page 13-24)
getstatus
This command returns the operating state of a specified instrument.
Usage
int getstatus(int
instr_id
, long
parameter
, double *
result
);
instr_id
The instrument identification code
parameter
The parameter of query; see
Details
result
The data returned from the instrument; the
getstatus
command returns one item
Details
If you see the
UT_INVLDPRM
invalid parameter error returned from the
getstatus
command, it
indicates that the status item parameter is illegal for this device. The requested status code is invalid
for the selected device.
A list of supported
getstatus
command values for the
parameter
parameter for a source-measure
unit (SMU) and a pulse card (VPU) are provided in the following tables.
No status values are provided for measurement-specific conditions.
Supported SMU getstatus query parameters
SMU parameter
Returns
Comment
KI_IPVALUE
The presently
programmed
output value
Current value (I output value)
KI_VPVALUE
Voltage value (V output value)
KI_IPRANGE
The presently
programmed
range
Current range (full-scale range value, or 0.0
for autorange)
KI_VPRANGE
Voltage range (full-scale range value, or 0.0
for autorange)
KI_IARANGE
The presently
active range
Current range (full-scale range value)
KI_VARANGE
Voltage range (full-scale range value)
KI_COMPLNC
Compliance
status of last
reading
Bitmapped values:
2 = LIMIT (at the compliance limit set by
limit
X
)
4 = RANGE (at the top of the range set by
range
X
)
KI_RANGE_COMPLIANCE
Range
compliance
status of last
reading
Returns 1 if in range compliance