User`s guide
2 Targets and Scopes in the MATLAB Interface
2-14
• For Scope 2, set the following values:
-
sc(2).ScopeId = 2
- sc(2).TriggerMode = 'Scope'
- sc(2).TriggerScope =1
- sc(2).TriggerSample = range 0 to (N + P - 1)
In the figures below, TP is the trigger point or sample where a trigger event
occurs. Scope 1 begins acquiring data as described.
In the simplest case, where
P = 0, Scope 1 acquires data right away.
“Pretriggering (P<0)” on page 2-14 illustrates the behavior if
P, the value of
NumPrePostSamples, is negative. In this case, Scope 1 starts acquiring data |P|
samples before
TP. Scope 2 begins to acquire data only after TP occurs.
Pretriggering (P<0)
“Posttriggering (P>0)” on page 2-15, illustrates the behavior if P, the value of
NumPrePostSamples, is positive. In this case, Scope 1 starts acquiring data |P|
samples after
TP occurs.