This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Pretriggering and Posttriggering of Scopes

By default, the scope starts acquiring data at the same time as the trigger event (the trigger point). Sometimes, to observe the values that led to the trigger, you start acquiring data a given number of samples before the trigger event (pretriggering). Other times, to observe the system settling after the trigger, you delay acquiring data a given number of samples after the trigger event (posttriggering).

Use the NumPrePostSamples scope property to specify pretriggering and posttriggering. A negative value indicates pretriggering and a positive value indicates posttriggering. For example, suppose that P is the value of NumPrePostSamples for Scope 1 and TP is the trigger point, the sample where the trigger event occurs.

  • P = 0 — Scope 1 starts acquiring data immediately at trigger point TP.

  • P < 0 — Scope 1 starts acquiring data |P| samples before trigger point TP.

  • P > 0 — Scope 1 starts acquiring data P samples after trigger point TP.