S530/S540 KTE Linear Parametric Test Library (LPTLib) User's Manual Section 3:
S530-900-01 Rev. E / September 2017 3-31
getstatus
This command returns the operating state of a specified instrument.
Usage
int getstatus(int instr_id, unsigned int parameter, double *result);
The instrument identification code; SMUn or VMTRn
The data returned from the instrument; the
command returns one item
Details
The getstatus command returns instrument-specific operating states.
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) are provided in the following table.
Supported SMU getstatus query parameters
SMU parameter
Returns
The presently programmed
output value
Current value (I output value)
Voltage value (V output value)
range
Current range (full-scale range value, or 0.0 for
autorange)
Voltage range (full-scale range value, or 0.0 for
autorange)
maximum voltage
For systems with 2657A source-measure units
(SMUs) only; a value between 300 V and
The presently active range Current range (full-scale range value)
Voltage range (full-scale range value)
The present range used when
last measurement was
performed
For autorange, the range at which the previous
current measurement was made
For autorange, the range at which the previous
voltage measurement was made
SMU measure delay
AUTO = The instrument sets the delay
automatically; default setting
<value> = User-specified value in seconds
delay multiplier
For 26xx SMUs when the KI_MEAS_DELAY
modifier is set to KI_DELAY_AUTO; the value
that stored SMU delay values are multiplied by
The presently programmed
period to average
measurements
AC power line cycles:
CMTR: 0.006 to 10.002
24xx: 0.01 to 10 (S530 only)