Tutorial > Measurement Using a Single Measurement Function > Measurement procedure with a little more flexibility

The simplest measurement procedure | Measurement procedure with a little more flexibility
The most flexible measurement procedure | Multipoint measurement with specified trigger count
Measurement using software triggers

Measurement Using a Single Measurement Function

Measurement procedure with a little more flexibility (CONFigure and READ)

The measurement procedure using the CONF:<meter_fn> command and READ[:<meter_fn>]? query separates the measurement condition setup from the measurement start and data acquisition procedures. This enables you to specify detailed conditions between the setup and measurement start procedures. For the default settings specified by the CONF:<meter_fn> command, see Table. In other words, you can set the settings to default using the CONF:<meter_fn> command, specify other settings, and then start the measurement using the READ[:<meter_fn>]? query.

Example: Impedance measurement (KFM2005)

CONF:IMP   'Set the impedance measurement conditions to default.

IMP:AVER:COUN 4

  'Set the integral average to 4.
IMP:AVER:MOV:COUN 16 'Set the moving average to 16.
IMP:CURR:AC 165E-4 'Set the superimpose current to 16.5 mApp.
IMP:CURR:AC:FREQ 1KHZ 'Set the measuring AC current frequency to 1 kHz.
READ:IMP? 'Start the impedance measurement and query the absolute value data.
(Read the response)
FETC:IMP:RES?;REAC?;PHAS? 'Query the resistance, reactance, and phase data.
(Read the response)

Example: Voltage measurement

CONF:VOLT   'Set the voltage measurement condition to default.

READ:VOLT?

  'Start the voltage measurement and query the data.
(Read the response)

Example: Current measurement

CONF:CURR   'Set the current measurement condition to default.

READ:CURR?

  'Start the current measurement and query the data.
(Read the response)

 

There are variations to the READ? query such as READ:IMP?, READ:VOLT?, and READ:CURR?.

There are more detailed variations of READ:IMP such as READ:IMP[:MAGN]?, READ:IMP:RES, READ:IMP:REAC?, and READ:IMP:PHAS?.

READ:IMP? and READ:IMP:MAGN? are same functions. If READ? is used without explicitly specifying <meter_fn> , the <meter_fn> of a previous MEAS:<meter_fn>?, CONF:<meter_fn>, READ[:<meter_fn>]?, or FETC[:<meter_fn>]? command is applied. In the example above, READ? after CONF:VOLT? is equivalent to READ:VOLT?. The default <meter_fn> immediately after turning the power on is IMP.

To abort the measurement after it is started, use the ABOR command. You can also use the *RST or *RCL command or the IEEE488.1 sdc or dcl message to abort the measurement. The *CLS command does not abort the measurement. Once the measurement is started, test conditions and trigger settings cannot be changed. You can specify these settings again after the test is completed or aborted.

The measurement procedure using the CONF:<meter_fn> command and READ[:<meter_fn>]? query is flexible in that the measurement conditions can be specified in detail. However, because the READ[:<meter_fn>]? query itself contains the function of the measurement start command, it is still inflexible in terms of specifying the measurement timing. This is because, measurement is started every time the READ[:<meter_fn>]? query is issued. To program the measurement timing in detail, the measurement start and data acquisition procedures must be separated. The commands that allows you to do this are INIT and FETC?. Actually, the READ[:<meter_fn>]? query is a combination of the INIT command and FETC[:<meter_fn>]? query.