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?