Télécharger Imprimer la page

Keysight N6705C Mode D'emploi page 222

Masquer les pouces Voir aussi pour N6705C:

Publicité

Les langues disponibles

Les langues disponibles

6 Advanced Source, Measurement, and Control
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 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
You can also specify how binary data is transferred. This only applies when the FORMat:DATA is set to
REAL
Normal - Binary data is transferred in normal order. The most significant byte is returned first, and the
least significant byte is returned last (big-endian).
Swapped - Binary data is transferred in swapped-byte order. The least significant byte is returned first,
and the most significant byte is returned last (little-endian).
The following command specifies the byte order of the data:
FORM:BORD NORM | SWAP
Use swapped format if you are using a little-endian data processor.
222
Keysight N6705C User's Guide

Publicité

loading