Retrieve the Histogram Measurement
The following command returns the histogram counts for the 7.8 mA histogram range from output 1:
The following command returns the histogram counts for the 8 A histogram range from output 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:
Keysight N6705C Operating and Service Guide
211
6 Advanced Source, Measurement, and Control
Содержание N6705C
Страница 76: ......
Страница 353: ...Status Diagram Keysight N6705C Operating and Service Guide 353 7 SCPI Programming Reference ...
Страница 376: ...8 Verification and Calibration 376 Keysight N6705C Operating and Service Guide ...
Страница 389: ...Keysight N6705C Operating and Service Guide 389 8 Verification and Calibration ...
Страница 434: ......
Страница 438: ...9 Service and Maintenance 438 Keysight N6705C Operating and Service Guide ...
Страница 459: ...Overall Troubleshooting Keysight N6705C Operating and Service Guide 459 9 Service and Maintenance ...
Страница 460: ...9 Service and Maintenance 460 Keysight N6705C Operating and Service Guide ...
Страница 461: ...Keysight N6705C Operating and Service Guide 461 9 Service and Maintenance ...
Страница 462: ...9 Service and Maintenance 462 Keysight N6705C Operating and Service Guide ...
Страница 463: ...Keysight N6705C Operating and Service Guide 463 9 Service and Maintenance ...
Страница 470: ...Mezzanine Parts 9 Service and Maintenance 470 Keysight N6705C Operating and Service Guide ...
Страница 471: ...Front Panel Parts Keysight N6705C Operating and Service Guide 471 9 Service and Maintenance ...
Страница 476: ......