User`s guide
6 Working with Acquired Image Data
the value of the FramesAvailable property. For more information, see
“Bringing a Single Frame into the Workspace” on page 6-10.
Moving Multiple Frames into the Workspace
To move multiple frames of data from the me m ory buffe r into the MATLAB
workspace, use the
getdata function. By default, getdata retrieves the
number of frames specified in the
FramesPerTrigger property but you can
specify any number. See the
getdata reference page for complete information
about this function.
Note When the getdata function moves frames from the memory buffer into
the w orkspace, it removes the frames from the me mory buffer.
In this figure, getdata is ca ll ed at T
1
witharequestfor15framesbutonly
six frames are available in the memory buffer.
getdata blocks until the
specified number of frames becomes available, at T
2
,atwhichpointgetdata
moves the frames into the MATLAB workspace and returns control to the
command pro m pt.
6-4