MDO3000 Programmer Manual.pdf - 第150页
Commands Listed in A lphabetical Order Examples ACTONEVENT:AC TION:PRINT:STATE O N specifies to send a s creen image to the printer w hen the specifie d eve nt occurs. ACTONEV ent:ACTION:SA VEIMAGE:ST A TE Saves a screen i…

Commands Listed in Alphabetical Order
Examples
ACTONEVENT:AC
TION:EMAIL:SETUP:TOADDRESS
“george.wilcox@tektronix.com”
sets the recipient’s email address to
george.wilcox@tektronix.com.
ACTONEVent:
ACTION:EMAIL:STATE
Sends an email when a specified event occurs, or queries the state of the “send
email” action. The default state is 0 (off).
To specify an email address for the recipient, use the command
ACTONEVent:ACTION:EMAIL:SETUp:TOADDRess
To specify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:ACTION:EMAIL:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:EMAIL:STATE?
Arguments
1, ON sends an email when the specified event occurs.
0, OFF turns off this action.
Examples
ACTONEVENT:ACTION:EMAIL:STATE ON specifies to send an email when the
specified event occurs.
ACTONEVent:ACTION:PRINT:STATE
Sends a screen image to a printer when a specified event occurs, or queries the
state of the “
send screen image” action. The default state is 0 (off).
To specify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:ACTION:PRINT:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:PRINT:STATE?
Arguments
1, ON sends a screen image to the printer when the specified event occurs.
0, OFF turns off this action.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-119

Commands Listed in Alphabetical Order
Examples
ACTONEVENT:AC
TION:PRINT:STATE ON
specifies to send a screen image to the
printer when the specified event occurs.
ACTONEVent:ACTION:SAVEIMAGE:STATE
Saves a screen image to file when a specified event occurs, or queries the stateof
the“savescreenimagetoafile”action.Thedefaultstateis0(off).
To specify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:ACTION:SAVEIMAGE:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:SAVEIMAGE:STATE?
Arguments
1, ON saves a screen image to a file when the specified event occurs.
0, OFF turns off this action.
Examples
ACTONEVENT:ACTION:SAVEIMAGE:STATE ON specifies to save a screen image
to a file when the specified event occurs.
ACTONEVent:ACTION:SAVEWFM:STATE
Saves the currently selected waveform data to a file when a specified event occurs,
or queries the state of the “save waveform to file” action. The default state is 0
(off).
To specify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:ACTION:SAVEWFM:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:SAVEWFM:STATE?
Arguments
1, ON saves the waveform to a file when the specified event occurs.
0, OFF turns off this action.
Examples
ACTONEVENT:ACTION:SAVEWFM:STATE ON specifies to save a waveform to a
file when the specified event occurs.
2-120 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
ACTONEVent:A
CTION:SRQ:STATE
Sets or returns the enabled state of the generate service request (SRQ) action
when a specified event occurs. The default state is 0.
When this control is set, the instrument will set the OPC bit (bit 0) in the SESR
(Standard Events Status Register) when the specified event occurs. In orderto
generate a s
ervice request interrupt (SRQ), theSRER(ServiceRequestEnable
Register), DESER (Device Event Status Enable Register), and the ESER (Event
Status Enable Register) must be set appropriately as described in the programmer
manual Synchronization Methods section. Upon completion of the mask test,
event code 2600 ("Mask testing complete") is queued to the event queue.
NOTE. With this setting enabled, a *OPC? query will not return until the specified
event oc
curs. Users should be aware of this when using synchronization methods
such as *OPC? and *WAI for other operations.
To spec
ify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:ACTION:SRQ:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:SRQ:STATE?
Arguments
1, ON generates an SRQ when the specified event occurs.
0, OFF turns off this action.
Examples
ACTONEVENT:ACTION:SRQ:STATE ON specifies to generate an SRQ when the
specified event occurs.
ACTONEVent:ACTION:STOPACQ:STATE
Stops acquisitions when a specified event occurs, or queries the state of the “stop
acquisition” action. The default state is 0 (off).
To specify an event, use the command ACTONEVent:EVENTTYPe.
G
roup
Act on Event
Syntax
ACTONEVent:ACTION:STOPACQ:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:STOPACQ:STATE?
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-121