Measurement operation
If the measurement is not complete immediately after sending the INIT command or immediately after a MEAS query, the response data to an FETC/READ/MEAS query is generated after the measurement is complete.
- FETCh subsystem Tutorial
FETC? queries the measured data without starting the measurement operation.
If FETC? is sent without making a measurement in advance, a SCPI error (-230,"Data corrupt or stale") occurs, because there is no valid measured data. Be sure to use this command with the INIT command.
Because this command queries the value when the measurement operation was carried out, the response value may be different from the value displayed on the panel.
- READ subsystem Tutorial
Queries the measured data after starting a new measurement operation.
READ? is equivalent to combining the INIT command and FETC? query.
- MEASure subsystem Tutorial
MEAS resets the settings to default, starts a new measurement operation, and acquires the resultant data.
MEAS? is equivalent to combining the ABOR, FUNC, CONF command and FETC? query.
There are three types of measurement functions on the KFM2005/KFM2030: impedance measurement, voltage measurement, and current measurement.
This manual expresses the third level node of FETC?, READ?, and MEAS? as <meter_fn>. Refer to Table and replace <meter_fn> with the required measurement function.
Sequence | <meter_fn> | Measurement Funcion | Response Unit |
1 | IMPedance[:MAGNitude] | Impedance (magnitude) measurement | OHM |
IMPedance:RESistance | Impedance (resistance) measurement | OHM | |
IMPedance:REACtance | Impedance (reactance) measurement/td> | OHM | |
IMPedance:PHASe | Phase angle measurement | DEG | |
2 | VOLTage[:DC] | Voltage measurement | V |
CURRent[:DC] | Current measurement | A |
The data type is the type specified by the previous FETC?, READ?, MEAS:<meter_fn>?, or CONF command. For example, if the CONF:IMP command was used before this command, FETC? is equivalent to FETC:IMP?.
Difference between SCALar and ARRay
The second level node of FETC?, READ?, and MEAS? can be [SCALar] or ARRay. [SCALar] is the default node that can be omitted. It returns a single value regardless of the trigger count designation. If ARRay is specified, multiple points of measured data separated by commas are returned according to the trigger count designation. Table indicates the contents of the response in [SCALar]/ARRay for the trigger count designation.
Trigger Count |
Node |
Response |
1 |
[SCALar] |
A single measured value |
ARRay |
A single measured value |
|
2 or greater |
[SCALar] |
Average of all measured data points (excluding over range and under range data) |
ARRay |
Array of all measured data points separated by commas |