Model 2461 Interactive SourceMeter® Instrument Reference Manual
Appendix C: Status model
2461-901-01 A/November 2015
C-19
SRQ when trigger model is finished
This example shows you how to generate a service request (SRQ) when the trigger model is
completed and the Model 2461 has returned to the Idle state. After configuring the status model, this
code configures and runs the trigger model. When the trigger model completes, the instrument
generates an SRQ and the data is returned.
Using SCPI commands:
*RST
TRAC:CLE
STAT:CLE
STAT:OPER:MAP 0, 2732, 2731
STAT:OPER:ENAB 1
*SRE 128
SOUR:VOLT 1
SOUR:VOLT:ILIM 10e-3
TRIG:BLOC:BUFF:CLE 1
TRIG:BLOC:SOUR:STAT 2, ON
TRIG:BLOC:DEL:CONS 3, 100e-3
TRIG:BLOC:MEAS 4, "defbuffer1"
TRIG:BLOC:BRAN:COUN 5, 9, 3
TRIG:BLOC:SOUR:STAT 6, OFF
INIT
*WAI
TRAC:DATA? 1, 9, "defbuffer1", READ