User`s guide

17 Functions — Alphabetical List
17-14
flushdata
Remove data from memory buffer used to store acquired image frames
Syntax
flushdata(obj)
flushdata(obj,mode)
Description
flushdata(obj) removes all the data from the memory buffer used to store acquired
image frames. obj can be a single video input object or an array of video input objects.
flushdata(obj,mode) removes all the data from the memory buffer used to store
acquired image frames, where mode can have either of the following values:
Mode Description
'all' Removes all the data from the memory buffer and sets the
FramesAvailable property to 0 for the video input object obj. This
is the default mode when none is specified, flushdata(obj).
'triggers' Removes data from the memory buffer that was acquired during the
oldest trigger executed. TriggerRepeat must be greater than 0 and
FramesPerTrigger must not be set to inf.
See Also
getdata | imaqhelp | peekdata | propinfo | videoinput