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.

Scope Trigger Configuration

You can configure Simulink® Real-Time™ scopes to acquire data right away, or define triggers for scopes so that the Simulink Real-Time scopes wait until they are triggered to acquire data. You can configure Simulink Real-Time scopes to start acquiring data when a predefined trigger condition is met. The exact condition depends on the trigger mode that you specify.

You can use several additional properties to refine when a scope starts to acquire data. For example, if you want the scope to be triggered when another signal crosses a certain value, use Signal trigger mode. Specify:

  • The signal to trigger the scope.

  • The trigger level that the signal must cross to trigger the scope to start acquiring data.

  • Whether the scope is triggered on a rising signal, falling signal, or either one.

The trigger point is the sample at which the scope trigger condition is satisfied. For signal triggering, the trigger point is the sample at which the trigger signal passes through the trigger level. At the trigger point, the scope acquires the first sample. By default, scopes start acquiring data from the trigger point onwards. You can modify this behavior using pretriggering and posttriggering with the NumPrePostSamples scope property. See Pretriggering and Posttriggering of Scopes.