Model 6485 Picoammeter Instruction Manual
Status Structure
10-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 parameter value that deter-
mines the desired state (0 or 1) of each bit in the appropriate register. An enable register
can be programmed using any of the following data formats for the parameter value;
binary, decimal, hexadecimal, or octal.
The bit positions of the register (
) indicate the binary parameter value. For
example, if you wish to sets bits B4, B3, and B1, the binary value would be 11010 (where
B4=1, B3=1, B1=1 and all other bits are 0). When you use one of the other formats, con-
vert the binary number to its decimal, hexadecimal, or octal equivalent:
Binary 11010 = Decimal 26 = Hexadecimal 1A = Octal 32
Note that
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).
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 for-
mat) parameter type is used to send decimal values, and does not use a header. The follow-
ing 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:
<NDN> Format
Valid Characters
Binary
1’s and 0’s
Hexadecimal
0 through 9 and A through F
Octal
0 through 7
Содержание 6485
Страница 1: ...Model 6485Picoammeter Instruction Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E ...
Страница 20: ......
Страница 24: ......
Страница 44: ...1 20 Getting Started Model 6485 Picoammeter Instruction Manual ...
Страница 66: ...3 6 Measurements Model 6485 Picoammeter Instruction Manual ...
Страница 138: ...9 20 Remote Operation Model 6485 Picoammeter Instruction Manual ...
Страница 159: ...11 CommonCommands ...
Страница 164: ...11 6 Common Commands Model 6485 Picoammeter Instruction Manual ...
Страница 165: ...12 SCPISignalOriented MeasurementCommands ...
Страница 190: ...14 12 SCPI Reference Tables Model 6485 Picoammeter Instruction Manual ...
Страница 214: ...16 14 Calibration Model 6485 Instruction Manual ...
Страница 219: ...A Specifications ...
Страница 221: ...B StatusandErrorMessages ...
Страница 227: ...C GeneralMeasurement Considerations ...
Страница 233: ...D DDCEmulationCommands ...
Страница 247: ...E ExamplePrograms ...
Страница 250: ...E 4 Example Programs Model 6485 Picoammeter Instruction Manual ...
Страница 251: ...F IEEE 488BusOverview ...
Страница 266: ...F 16 IEEE 488 Bus Overview Model 6485 Picoammeter Instruction Manual ...
Страница 267: ...G IEEE 488andSCPI ConformanceInformation ...
Страница 311: ......