Measurement Data Formats - Keysight Technologies N6705C Operating And Service Manual

Dc power analyzer
Table of Contents

Advertisement

6 Advanced Source, Measurement, and Control
Retrieve the Histogram Measurement
The following command returns the histogram counts for the 7.8 mA histogram range from output 1:
FETC:HIST:CURR? 0.0078,(@1)
The following command returns the histogram counts for the 8 A histogram range from output 1:
FETC:HIST:CURR? 8,(@1)
Histogram data is returned as 4096 comma-separated ASCI values terminated by a newline. A
histogram query can only fetch data from one histogram range at a time.
Query the Histogram Bin and Offset to Calculate Amperes
The gain and offset are needed to convert a bin number to amperes. Therefore, the bin gain and offset
can be queried for each histogram range. For example, to query the gain and offset value for the 3.9
mA histogram range, use:
SENS:HIST:CURR:BIN:GAIN? 0.0078,(@1)
SENS:HIST:CURR:BIN:OFFS? 0.0078,(@1)
To query the gain and offset value for the 8 A histogram range, use:
SENS:HIST:CURR:BIN:GAIN? 8,(@1)
SENS:HIST:CURR:BIN:OFFS? 8,(@1)
The median current in amperes of a bin can then be calculated using:
current = (bin number) x gain + offset
where (bin number) is an integer number between 0 and 4095 corresponding to the 4096 counts
returned by FETC:HIST:CURR? Because the current measurements can be positive or negative, bin 0
represents the most negative current, bin 2048 represents 0, and bin 4095 is the most positive
current.

Measurement Data Formats

The default data format for measurement queries is ASCII. You can also specify Real data format
when returning SCPI array and external datalog measurements as well as for setting and querying
constant-dwell Arb levels.
ASCII - Numeric data is transferred as ASCII bytes in <NR1>, <NR2>, or <NR3> format as appropriate.
The numbers are separated by commas.
Real - Data is returned in binary IEEE single precision floating point. In this case the four bytes of each
value can be returned in either big-endian or little-endian byte order, determined by the
FORMat:BORDer setting.
The following command specifies the data format:
FORM ASCII | REAL
Keysight N6705C Operating and Service Guide
211

Advertisement

Table of Contents
loading

Table of Contents