Keithley 708B Reference Manual page 442

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
The individual bits of the status byte condition register can be set using constants (for example, to set the enable
bit of the standard event status register to B0, set status.standard.enable = status.standard.OPC).
The following table contains descriptions of the bits and available values:
Bit
Value
B0
status.standard.OPERATION_COMPLETE
status.standard.OPC
B1
Not used
B2
status.standard.QUERY_ERROR
status.standard.QYE
B3
status.standard.DEVICE_DEPENDENT_ERROR
status.standard.DDE
B4
status.standard.EXECUTION_ERROR
status.standard.EXE
B5
status.standard.COMMAND_ERROR
status.standard.CME
B6
status.standard.USER_REQUEST
status.standard.URQ
B7
status.standard.POWER_ON
status.standard.PON
In addition to the above constants, standardRegister can be set to the decimal equivalent of the bit to set. To
set more than one bit of the register, set standardRegister to the sum of their decimal weights. For example,
to set bits B0 and B4, set standardRegister to 17 (which is the sum of 1 + 16).
Bit
Binary value
Decimal
Weights
Example 1
standardRegister = status.standard.OPC
+ status.standard.EXE
status.standard.enable = standardRegister
707B-901-01 Rev. A / August 2010
B7
B6
B5
0/1
0/1
0/1
128
64
32
7
6
5
(2
)
(2
)
(2
)
Section 7: Command reference
Description
Set bit indicates that all pending selected
instrument operations are completed and the
instrument is ready to accept new commands.
The bit is set in response to an *OPC
command. The ICL function opc() can be used
in place of the *OPC command.
Bit 0 decimal value: 1
Not applicable
Set bit indicates that you attempted to read
data from an empty Output Queue.
Bit 2 decimal value: 4
Set bit indicates that an instrument operation
did not execute properly due to some internal
condition.
Bit 3 decimal value: 8
Set bit indicates that the instrument detected an
error while trying to execute a command.
Bit 4 decimal value: 16
Set bit indicates that a command error has
occurred. Command errors include:
IEEE-488.2 syntax error: Instrument received
a message that does not follow the defined
syntax of the IEEE-488.2 standard.
Semantic error: Instrument received a
command that was misspelled or received an
optional IEEE-488.2 command that is not
implemented.
GET error: The instrument received a Group
Execute Trigger (GET) inside a program
message.
Bit 5 decimal value: 32
Set bit indicates that the LOCAL key on the
instrument front panel was pressed.
Bit 6 decimal value: 64
Set bit indicates that the instrument has been
turned off and turned back on since the last
time this register has been read.
Bit 7 decimal value: 128
B4
B3
B2
0/1
0/1
0/1
16
8
4
4
3
2
(2
)
(2
)
(2
)
Sets the OPC and EXE bits of the
standard event status register using
constants.
B1
B0
0/1
0/1
2
1
1
0
(2
)
(2
)
7-189

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents