
14
────────────────────────────────────────────────────
4.5 Data Formats
────────────────────────────────────────────────────
4.5 Data Formats
The 3157 uses character string data and decimal numeric data, and the type
used varies according to the command in question.
(1) Character data
Character string data must always begin with an alphabetic character, and
the characters following can be either alphabetic characters or numerals.
Although in character data either upper case letters or lower case letters are
accepted, response messages output by the 3157 are always in upper case
letters.
Example
:STATe
_
reaDY
(2) Decimal data
The numeric data values are all represented in decimal, in three formats
identified as NR1, NR2 and NR3, and each of these can appear as either a
signed number or an unsigned number. Unsigned numbers are taken as
positive. Further, if the accuracy of a numerical value exceeds the limit which
the 3157 can deal, it is rounded off (5 and above is rounded up; 4 and below is
rounded down).
NR1 format: Integer data
Examples
+3000, -50000, 210
NR2 format: Fixed point numbers
Examples
+2.56, -30.45, 300.28
NR3 format: Floating point numbers.
Examples
+3E-2, -1.2E3
The term "NRf format" includes all these three formats. When the 3157 is
receiving it accepts NRf format, but when it is sending response messages it
utilizes whichever one of the formats NR1 to NR3 is indicated in the specified
command.
Examples
:CONFigure:CURRent
_
25
:CONFigure:CURRent
_
+25.012
:CONFigure:CURRent
_
0.0025E4
Summary of Contents for 9518-02
Page 1: ...GP IB INTERFACE INSTRUCTION MANUAL 9518 02 3157 AC GROUNDING HiTESTER...
Page 2: ......
Page 6: ...ii Introduction...
Page 74: ...68 5 6 Initialization Items...
Page 84: ...78...