MDO3000 Programmer Manual.pdf - 第152页

Commands Listed in A lphabetical Order Arguments 1, ON stops acqu isitions when the specified event occurs. 0, OFF turns off this action. Examples ACTONEVENT:AC TION:STOPACQ:STA TE ON specifies to stop acquisitions when th…

100%1 / 1158
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
Commands Listed in Alphabetical Order
ACQCOMPLete sp
ecifies to act when acquisition completes.
Examples
ACTONEVENT:EVENTTYPE ACQCOMPLETE specifies to take action when
acquisition
completes.
ACTONEVent:NUMACQs
Sets (or queries) the number of acquisitions to complete for the event type
ACQCOMPLete. The default is 1 acquisition.
To set the event type to
ACQCOMPLete,usetheACTONEVent:EVENTTYPe
command.
Group
Act on Event
Syntax
ACTONEVent:NUMACQs <NR1>
ACT
ONEVent:NUMACQs?
Arguments
Integer which can be set as follows:
Table 2-50:
From To Resolution
1 100 1
100 1000 10
1000 10,000 100
10,000 1,000,000 1000
Examples
ACTONEVENT:NUMACQS 350 specifies to take the specified action when 350
acquisitions have been completed.
ACTONEVent:REPEATCount
Sets or returns the number of events to run.
To specify an event, use the command ACTONEVent:EVENTTYPe.
Group
Act on Event
Syntax
ACTONEVent:REPEATCount <NR1>
ACTONEVent:REPEATCount?
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-123