Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
Appendix D: Status model
077114601 / March 2019
D-23
SRQ when trigger model is finished
This example shows you how to generate an SRQ when the trigger model is completed and the
power supply has returned to the idle state. After configuring the status model, this code will configure
and run the trigger model. When the trigger model completes, the instrument will generate an SRQ
and the data will be returned.
Using SCPI commands:
*RST
:TRAC:CLE
:TRAC:POIN 10
*CLS
:STAT:OPER:INST:ISUM:ENAB 1024
:STAT:OPER:INST:ENAB 2
:STAT:OPER:ENAB 8192
*SRE 128
:SOUR:VOLT 1
:TRIG:COUN 10
:OUTP ON
:INIT
*WAI
:TRAC:DATA? "READ"