14-6
Status Structure
The <NDN> (non-decimal numeric) parameter type is used to send non-decimal values.
These values require a header (#B, #H, or #Q) to identify the data format being sent. The letter
in the header can be upper or lower case. The <NRf> (numeric representation format) parame-
ter type is used to send decimal values, and does not use a header. The following examples
show the proper parameter syntax for setting Bits B5, B3, and B2:
#b101100
Binary format (<NDN> parameter type)
#h2C
Hexadecimal format (<NDN> parameter type)
#q54
Octal format (<NDN> parameter type)
44
Decimal format (<NRf> parameter type)
Valid characters for the non-decimal parameter values are shown as follows:
Reading registers
Any register in the status structure can be read by using the appropriate query (?) command.
The following explains how to interpret the returned value (response message). The actual
query commands are covered later in this section (Tables 14-3 through 14-7).
The response message will be a value that indicates which bits in the register are set. That
value (if not already binary) will have to be converted to its binary equivalent. For example, for
a binary value of 100101, bits B5, B2, and B0 are set.
The returned value can be in the binary, decimal, hexadecimal, or octal format. The
FORMat:SREGister command is used to select the data format for the returned value
(Table 14-2).
For non-decimal formats, one of the following headers will accompany the returned value to
indicate which format is selected:
#B = Header for binary values
#H = Header for hexadecimal values
#Q = Header for octal values
<NDN> format
Valid characters
Binary
Hexadecimal
Octal
1s and 0s
0 through 9 and A through F
0 through 7
Содержание 6430
Страница 26: ......
Страница 32: ......
Страница 78: ...2 14 Connections ...
Страница 98: ...3 20 Basic Source Measure Operation ...
Страница 138: ...5 30 Source Measure Concepts ...
Страница 156: ...6 18 Range Digits Speed and Filters ...
Страница 168: ...7 12 Relative and Math ...
Страница 176: ...8 8 Data Store ...
Страница 202: ...9 26 Sweep Operation ...
Страница 248: ...11 22 Limit Testing ...
Страница 310: ...16 6 SCPI Signal Oriented Measurement Commands ...
Страница 418: ...17 108 SCPI Command Reference ...
Страница 450: ...18 32 Performance Verification ...
Страница 477: ...A Specifications ...
Страница 489: ...B StatusandErrorMessages ...
Страница 498: ...B 10 Status and Error Messages ...
Страница 499: ...C DataFlow ...
Страница 503: ...D IEEE 488BusOverview ...
Страница 518: ...D 16 IEEE 488 Bus Overview ...
Страница 519: ...E IEEE 488andSCPI ConformanceInformation ...
Страница 523: ...F MeasurementConsiderations ...
Страница 539: ...G GPIB488 1Protocol ...
Страница 557: ......