User`s guide
flushdata
Purpose 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 v a lues:
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 w hen none
is spe cified,
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, imaqhe lp, peekdata, propin fo, videoinput
12-7