User`s guide
2 Targets and Scopes in the MATLAB
®
Interface
Posttriggering (P>0)
Scope 1 triggers Scope 2 after the trigger event occurs. The following describes
some of the ways you can trigger Scope 2:
•
sc(2).TriggerSample = 0 — Causes Scope 2 to be triggered when Sco pe 1
is triggered.
TP forbothscopesasatthesamesample.
•
sc(2).TriggerSample = n > 0 —CausesTP for Scope 2 t o be n samples
after
TP for Scope 1. Note that setting sc(2). Trig gerSample to a value
larger than
(N+P-1)does not cause an error; it implies that Scope 2
will n ev e r trigger, since Scope 1 will never acquire more than
(N + P -
1)
samples after TP.
•
sc(2).TriggerSample = 0 < n < (N + P) — E nables you to obtain
some of the functionality that is available with pre- or posttriggering. For
example, if you have the following Scope 1 and Scope 2 settings,
- Scope 1 has sc(1).NumPrePos tSam ples = 0 (no pre- or posttriggering)
- Scope 2 has sc(2).Trigge rSam ple = 10
- Scope 2 has sc(2).NumPrePost Samp le = 0
The behavior displayed by Scope 2 is equivalent to having
sc(2).TriggerSample = 0 and sc(2).NumPrePos tSamples = 10.
•
sc(2).TriggerSample = -1 — Causes S cope 2 to start acquiring data
fromthesampleafterScope1stopsacquiring.
2-18