TRIGger Subsystem Introduction
|
The rear-panel external trigger BNC connector is chassis referenced. |
Configures triggering for sequence, list, burst, and sweep:
TRIGger[1|2] - immediate trigger
TRIGger[1|2]:COUNt {<number>MINimum|MAXimum|DEFault} - trigger count
TRIGger[1|2]:DELay {<seconds>|MINimum|MAXimum} - trigger delay
TRIGger[1|2]:LEVel {<level>|MINimum|MAXimum} - trigger level
TRIGger[1|2]:SLOPe {POSitive|NEGative} - slope of trigger signal at the rear-panel Ext Trig connector
TRIGger[1|2]:SOURce {IMMediate|EXTernal|TIMer|BUS} - source (internal, external, timer, or bus)
from which instrument accepts trigger
TRIGger[1|2]:TIMer {<seconds>|MINimum|MAXimum} - timer used when TRIGger[1|2]:SOURce is TIMer.
TRIGger[1|2]
Forces immediate
trigger to initiate sequence, sweep, list, or burst.
(none) |
(none) |
Send an immediate trigger on channel 2: TRIG |
- Can be used with IMMediate, EXTernal, TIMer, or BUS trigger source (TRIGger[1|2]:SOURce). For example, you can use TRIGger to issue an immediate
trigger while waiting for an external trigger.
- Intended as an override. For general, software controlled triggering, use *TRG.
TRIGger[1|2]:COUNt {<number>MINimum|MAXimum|DEFault}
TRIGger[1|2]:COUNt? [{MINimum|MAXimum}]
Sets trigger count.
1 to 1,000,000; default, 1 |
10000 |
Set channel 2 trigger count to 10000: TRIG2:COUN 10000 |
- Can be used with IMMediate, EXTernal, TIMer, or BUS trigger source (TRIGger[1|2]:SOURce).
- Applies only when INITiate[1|2]:CONTinuous is OFF.
TRIGger[1|2]:DELay {<seconds>|MINimum|MAXimum}
TRIGger[1|2]:DELay? [{MINimum|MAXimum}]
Sets trigger delay, (time from assertion of trigger to occurrence of triggered event).
0 to 1000 s, in resolution of 4 ns; default 0 |
+1.050000000000000E-01 |
Set channel 1 trigger delay to 105 ms: TRIG:DEL 105e-3 |
TRIGger[1|2]:LEVel {<level>|MINimum|MAXimum}
TRIGger[1|2]:LEVel? [{MINimum|MAXimum}]
Sets the output trigger level and input trigger threshold in volts. The trigger threshold is one-half of the trigger level.
0.9 to 3.8 V |
+3.300000000000000E+00
|
Set the trigger level to 2 V: TRIG:LEV 2 |
TRIGger[1|2]:SLOPe {POSitive|NEGative}
TRIGger[1|2]:SLOPe?
Specifies polarity of
trigger signal on rear-panel Trig
In connector for any externally-triggered mode.
{POSitive|NEGative}, default POS (rising edge) |
POS or NEG |
Set trigger slope to falling edge: TRIG:SLOP NEG |
TRIGger[1|2]:SOURce {IMMediate|EXTernal|TIMer|BUS}
TRIGger[1|2]:SOURce?
Selects the trigger
source for sequence, list, burst or sweep. The instrument accepts an immediate or timed internal trigger, an external hardware trigger from
the rear-panel Ext Trig connector, or a software (bus) trigger.
{IMMediate|EXTernal|TIMer|BUS}, default IMMediate |
IMM, EXT, TIM, BUS |
Select external trigger source (trigger each time a low-true TTL pulse is received on the rear-panel
trigger input):
TRIG:SOUR EXT |
In
triggered burst mode:
- The instrument outputs a waveform of the specified number of cycles (burst count) when a trigger is received. After the specified number of cycles have been output, the instrument stops and waits for next trigger.
- IMMediate (internal): the instrument outputs continuously when burst mode is enabled. The rate at which the burst is generated is determined by BURSt:INTernal:PERiod.
- EXTernal: the instrument accepts a hardware trigger at the rear-panel Ext Trig connector. The instrument outputs one burst of the specified number of cycles each time Ext Trig receives a level transition with
the proper polarity (TRIGger[1|2]:SLOPe). External trigger signals during a burst are ignored.
- BUS (software): the instrument initiates one burst each time a bus trigger (*TRG) is received. The front panel [Trigger] key is illuminated when the instrument is waiting for a bus trigger.
- EXTernal or BUS: burst count and burst phase remain in effect, but burst period is ignored.
- TIMer: trigger events are spaced by a timer, with the first trigger as soon as INIT occurs.
In
frequency sweep mode:
- IMMediate (internal): the instrument outputs continuously when the sweep is enabled. The period at which the sweep is generated is the sweep time (SWEep:TIME) plus 1 ms.
- EXTERNAL: the instrument accepts a hardware trigger at the rear-panel Ext Trig connector. The instrument initiates one sweep each time Trig
In receives a TTL pulse of proper edge polarity (TRIGger[1|2]:SLOPe). The trigger
period must be at least sweep time (SWEep:TIME) plus 1 ms.
- BUS (software): the instrument initiates one sweep each time a bus trigger (*TRG) is received. The front panel [Trigger] key is illuminated when the instrument is waiting for a bus trigger.
- APPLy sets trigger source to IMMediate.
- To ensure synchronization with BUS source, send *WAI (wait) so the instrument waits for all pending operations to complete before executing any additional commands. For example, the following command string guarantees that the
first trigger is accepted and the operation is executed before second
trigger is recognized.
TRIG:SOUR BUS;*TRG;*WAI;*TRG;*WAI
- Use *OPC? or *OPC
to determine when the sweep or burst is complete.
The *OPC? query returns 1 to the output buffer when the sweep or burst
is complete. The *OPC command sets the Operation Complete bit (bit 0)
in the Standard Event register when the sweep or burst is complete.
TRIGger[1|2]:TIMer {<seconds>|MINimum|MAXimum}
TRIGger[1|2]:TIMer? [{MINimum|MAXimum}]
Sets timer used when TRIGger[1|2]:SOURce is TIMer.
1 µs to 8,000 s |
+3.000000000000000E-01 |
Set trigger timer to 300 ms on channel 2: TRIG2:TIM 0.3 |