![background image](http://html2.mh-extra.com/html/keithley/interactive-sourcemeter-2450/interactive-sourcemeter-2450_reference-manual_4033478831.webp)
Appendix C: Status model
Model 2450 Interactive SourceMeter® Instrument Reference Manual
C-14
2450-901-01 Rev. B/September 2013
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
(on page C-15) for information on how to
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))