MDO3000 Programmer Manual.pdf - 第151页

Commands Listed in Alphabetical Order ACTONEV ent:A CTION:SRQ:ST A TE Sets or returns the enabled state of the generate service request (SRQ) act ion when a specified event occurs. The default state is 0. When this contro…

100%1 / 1158
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 specied
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
Commands Listed in Alphabetical Order
Arguments
1, ON stops acqu
isitions when the specified event occurs.
0, OFF turns off this action.
Examples
ACTONEVENT:ACTION:STOPACQ:STATE ON specifies to stop acquisitions when
the specified event occurs.
ACTONEVent:ACTION:VISUAL:STATE
Displays a visual notification when a specified event occurs, or queries the state of
the “display a visual notification” action. The default state is 0 (off).
To specify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:ACTION:VISUAL:STATE <0|1|OFF|ON>
ACTONEVent:ACTION:VISUAL:STATE?
Arguments
1, ON displays a visual notification when the specified event occurs.
0, OFF turns off this action.
Examples
ACTONEVENT:ACTION:VISUAL:STATE ON specifies to display a visual
notification when the specified event occurs.
ACTONEVent:EVENTTYPe
Specifies (or queries) which event to act on (TRIGger, ACQCOMPLete, or
NONe) when using an Act on Event command. The default is
NONe.
To specify the action to take, use the
ACTONEVent:ACTION commands.
Group
Act on Event
Syntax
ACTONEVent:EVENTTYPe <NONe|TRIGger|ACQCOMPLete>
ACTONEVent:EVENTTYPe?
Arguments
NONe no event (this is the default).
TRIGger specifies to act when a trigger occurs.
2-122 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual