Remove trigger from device interface


removetrigger(d,idx) removes the specified trigger from the DataAcquisition interface. If the DataAcquisition has triggers with indices higher than the trigger being removed, they are renumbered to fill the empty gaps left by the removal.


collapse all

Remove a trigger from a DataAcquisition interface.

d = daq("ni");
% :
Tidx = addtrogger(d,"Digital","StartTrigger","Dev1/PFI0","Dev2/PFI0");
% :

Input Arguments

collapse all

DataAcquisition interface, specified as a DataAcquisition object, created using the daq function.

Example: d = daq()

Trigger index, specified as a numeric scalar or vector. Removing a trigger shifts down the indices of remaining higher triggers.

Example: 1

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

See Also


Introduced in R2020a