Reading The Registers - Keithley 2461 Reference Manual

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2461 Interactive SourceMeter® Instrument Reference Manual

Reading the registers

You can read any register in the status model. The response is a decimal value that indicates which
bits in the register are set. See
convert the decimal value to bits.
Using SCPI commands:
If you are using SCPI, you use the query commands in the STATus subsystem and common
commands to read registers.
Using TSP commands:
If you are using TSP, you print the TSP command to read the register. You can use either print(),
which returns the decimal value, or print(tostring()), which returns the string equivalent of the
decimal value.
You can also send the common commands to read the register.
For example, you can send any one of the following commands to read the Status Enable Register of
the Standard Event Register:
print(status.standard.enable)
*ese?
print(tostring(status.standard.enable))
2461-901-01 A/November 2015
Understanding bit settings
Appendix C: Status model
(on page C-16) for information on how to
C-15

Advertisement

Table of Contents
loading

Table of Contents