Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

TriggersRemaining

Indicates the number of trigger to execute in an operation

Description

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.

Examples

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');
addTriggerConnection(s,'Dev1/PFI4','Dev2/PFI0','StartTrigger');

Display Session's TriggersRemaining Property.

s.TriggersRemaining
ans =

     1
Was this topic helpful?