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.


Indicates the number of trigger to execute in an operation


When working with the session-based interface, the TriggersRemaining property indicates the number of trigger remaining for this acquisition or generation session. This value depends on the number of triggers set using TriggersPerRun.


Display Number of Triggers Remaining in Operation

Create a session and add channels and trigger to the session.

s = daq.createSession('ni');
addAnalogInputChannel(s,'Dev1', 0, 'voltage');
addAnalogInputChannel(s,'Dev2', 0, 'voltage');

Display Session’s TriggersRemaining Property.

ans =