Main Content

flush

Flush DataAcquisition input and output buffers

Since R2020a

Syntax

Description

flush(d) removes all acquired and queued scans in the input and output buffers of the DataAcquisition interface.

example

Examples

collapse all

Clear all acquired and queued scans.

d = daq("ni")
% :
flush(d)

Input Arguments

collapse all

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

Example: d = daq()

Version History

Introduced in R2020a

See Also

Functions