Clearing Registers And Queues; Startup State; Programming And Reading Registers; Programming Enable And Transition Registers - Keithley 708B Reference Manual

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

Advertisement

Models 707B and 708B Switching Matrix Reference Manual

Clearing registers and queues

Commands to reset the status registers and the Error queue are listed in the table below. In addition
to these commands, any programmable register can be reset by sending the individual command to
program the register with a 0 as its parameter value.
Commands to reset registers and clear queues
Commands
To Reset Registers:
*CLS
status.reset()
To Clear Error Queue:
errorqueue.clear()
The instrument automatically clears the output queue when the instrument transitions from the local
control state to the remote control state.

Startup state

When the Switching Matrix is turned on, various register status elements will be set as follows:
The PON bit in the status.operation.condition register will be set.
Other bits will be set appropriately based on the system's power-on configuration.
All enable registers (.enable) will be set to 0.
All negative transition registers (.ntr) will be set to 0.
All used positive transition registers (.ptr) bits will be set to 1.
The two queues will be empty.

Programming and reading registers

Programming enable and transition registers

The only registers that can be programmed by the user are the enable and transition registers. All
other registers in the status structure are read-only registers. The following explains how to determine
the parameter values for the various commands used to program enable registers. The actual
commands are summarized in Common commands and Status function summary.
A command to program an event enable or transition register is sent with a parameter value that determines the desired state (0 or 1) of each bit in the appropriate register. The bit positions of the register (see the following figure) indicate the binary parameter value and decimal equivalent. To program one of the registers, send the decimal value for the bits to be set. The registers are discussed further in Enable and transition registers.
707B-901-01 Rev. A / August 2010
Description
Clears the output queue. Reset bits of status
registers to 0.
Reset bits of status registers to 0.
Clear all messages from Error Queue.
Appendix C: Status model
C-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents