User`s guide

Advanced Source and Measurement Functions 6
Model N6705 User’s Guide 167
Retrieve the Measurement Data
After a trigger is received and the data acquisition completes, the
trigger system will return to the Idle state. When this occurs, you can
use FETCh queries to return specific voltage or current data from a
previously triggered measurement. FETCh queries do not alter the
data in the measurement buffer.
FETC:CURR[:DC]?(@1) (DC current)
FETC:CURR:ACDC?(@1) (total RMS current)
FETC:CURR:HIGH?(@1) (high level of current pulse)
FETC:CURR:LOW?(@1) (low level of current pulse)
FETC:CURR:MAX?(@1) (maximum current)
FETC:CURR:MIN?(@1) (minimum current)
FETC:VOLT[:DC]?(@1) (DC voltage)
FETC:VOLT:ACDC?(@1) (total RMS voltage)
FETC:VOLT:HIGH?(@1) (high level of voltage pulse)
FETC:VOLT:LOW?(@1) (low level of voltage pulse)
FETC:VOLT:MAX?(@1) (maximum voltage)
FETC:VOLT:MIN?(@1) (minimum voltage)
FETC:POW?(@1) (output power)
Power can only be measured on power modules with simultaneous
measurement capability (see chapter 1, “Power Module Differences”)
If a FETCh query is sent before the measurement is finished, the
response will be delayed until the measurement trigger occurs and
the acquisition completes. You can test the MEAS_active bit in the
operation status register to know when the measurement trigger
system has returned to the idle state. To query the MEAS_active bit:
STAT:OPER:COND?(@1)
If a bit value of 32 is returned in the query, the MEAS_active bit is
true, and the measurement is NOT complete. When the MEAS_active
bit is false, you can retrieve the measurement. Refer to the N6705
Programmer’s Reference Help file for more information. Use Array
queries to return all data from the measurement buffer.
FETC:ARR:VOLT?(@1)
FETC:POW?(@1)
FETC:ARR:CURR?(@1)
NOTE
You can specify the format of the array data. Refer to “Measurement Data
Formats” later in this chapter for more information.
ASCII data (the default format) is returned as comma-separated
ASCII numeric voltage or current data terminated by a newline. An
ASCII query can only fetch data from one channel at a time.
Binary data is returned as a comma-separated list of data for each
channel requested. The data for each channel is a definite length
binary block, with the byte order specified by the BORDer command.
Each FETCh command also has a corresponding MEASure command.
Measurement commands initiate, trigger, and return the data all in
one step. Each measurement command overwrites previous data.
Appendix B lists the Measurement commands.