User`s guide

Controlling Logging Parameters
memory buffer. For more information, see “Bringing Image Data into the
MATLAB Workspace” on page 6-3.
Yo u can also log data to a disk file by setting the
LoggingMode property to
'disk' or to 'disk&memory'. By logging frames to a disk file, you create
a permanent record of the frames you acquire. For example, this code sets
the value of the
LoggingMode property of the video input o bject vid to
'disk&memory'.
set(vid,'LoggingMode','disk&memor y');
Because the toolbox stores the image frames in Audio Video Interleaved (AVI)
format, you can view the logged frames in any standard media player. For
more information, see “Logging Image Data to Disk” on page 5-40.
Specifying the Number of Frames to Log
In Image A cquisition Toolbox, you specify the amount of data you want to
acquire a s the number of frames per trigger.
You specify the desired size of your acquisition as the value of the video input
object
FramesPerTrigger property. By default, the value of this property is
10 frames per trigger, but you can specify any value. The following figure
illustrates an acquisition using the default value for the
FramesPerTrigger
property. To see an example of an acquisition, see “Example: Acquiring 100
Frames” on page 5-23.
5-21