
Model 2700 Multimeter/Switch System User’s Manual
Status Structure
11-5
Programming and reading registers
Programming enable registers
The only registers that can be programmed by the user are the enable registers. All other
registers in the status structure are read-only registers. The following explains how to
ascertain the parameter values for the various commands used to program enable registers.
The actual commands are covered later in this section (
A command to program an event enable register is sent with a decimal parameter value
that determines the desired state (0 or 1) of each bit in the appropriate register. The bit
positions of the register (
) indicate the binary parameter value. For example, if
you wish to set bits B4, B3, and B1, the binary value would be 11010 (where B4=1, B3=1,
B1=1, and all other bits are 0).
The binary value is then converted to its decimal equivalent:
Binary 11010 = Decimal 26
includes the decimal weight for each register bit. To set bits B4, B3, and B1,
the decimal parameter value would be the sum of the decimal weights for those bits
(16+8+2 = 26).
Figure 11-2
16-bit status register
(2
7
)
(2
6
)
(2
5
)
(2
4
)
(2
3
)
(2
2
)
(2
1
)
(2
0
)
(2
14
)
(2
13
)
(2
12
)
(2
11
)
(2
10
)
(2
9
)
(2
8
)
16384
* By SCPI standard definition, B15 is not used. The bit is always 0.
Bit Position
Binary Value
Decimal
Weights
B7
B6
B5
B4
B3
B2
B1
B0
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
128
64
32
16
8
4
2
1
B15* B14
B13
B12
B11
B10
B9
B8
8192 4096 2048 1024 512
256
0
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Bit Position
Binary Value
Decimal
Weights
B) Bits 8 through 15
A) Bits 0 through 7
Содержание 2700
Страница 3: ......
Страница 7: ......
Страница 197: ...5 24 Rel Math Ratio Channel Average dB Model 2700 Multimeter Switch System User s Manual...
Страница 213: ...6 16 Buffer Model 2700 Multimeter Switch System User s Manual...
Страница 289: ...9 18 Limits and Digital I O Model 2700 Multimeter Switch System User s Manual...
Страница 335: ...11 24 Status Structure Model 2700 Multimeter Switch System User s Manual...
Страница 336: ...12 CommonCommands...
Страница 344: ...13 SCPISignalOriented MeasurementCommands...
Страница 353: ...13 10 SCPI Signal Oriented Commands Model 2700 Multimeter Switch System User s Manual...
Страница 363: ...14 10 FORMat and Misc SYSTem Commands Model 2700 Multimeter Switch System User s Manual...
Страница 364: ...15 SCPIReferenceTables...
Страница 391: ...A 2 Specifications Model 2700 Multimeter Switch System User s Manual...
Страница 392: ...Model 2700 Multimeter Switch System User s Manual Specifications A 3...
Страница 393: ...A 4 Specifications Model 2700 Multimeter Switch System User s Manual...
Страница 394: ...Model 2700 Multimeter Switch System User s Manual Specifications A 5...
Страница 395: ...A 6 Specifications Model 2700 Multimeter Switch System User s Manual...
Страница 400: ...B Model7700ConnectionGuide...
Страница 411: ...B 12 Model 7700 Connection Guide Model 2700 Multimeter Switch System User s Manual...
Страница 412: ...C StatusandErrorMessages...
Страница 419: ...C 8 Status and Error Messages Model 2700 Multimeter Switch System User s Manual...
Страница 420: ...D SignalProcessing SequenceandDataFlow...
Страница 433: ...D 14 Signal Processing Sequence and Data Flow Model 2700 Multimeter Switch System User s Manual...
Страница 434: ...E MeasurementConsiderations...
Страница 443: ...E 10 Measurement Considerations Model 2700 Multimeter Switch System User s Manual...
Страница 454: ...G IEEE 488BusOverview...
Страница 469: ...G 16 IEEE 488 Bus Overview Model 2700 Multimeter Switch System User s Manual...
Страница 470: ...H KE2700InstrumentDriver Examples...
Страница 489: ...H 20 KE2700 Instrument Driver Examples Model 2700 Multimeter Switch System User s Manual...
Страница 499: ......