User`s guide

Controlling Logging Parameters
6-25
vid.LoggingMode = 'disk&memory';
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 6-42.
Specifying the Number of Frames to Log
In the Image Acquisition Toolbox software, you specify the amount of data you want to
acquire as 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 “Acquiring 100 Frames” on page 6-27.
Specifying the Amount of Data to Log
Note While you can specify any size acquisition, the number of frames you can acquire
is limited by the amount of memory you have available on your system for image
storage. A large acquisition can potentially fill all available system memory. For large
acquisitions, you might want to remove frames from the buffer as they are logged. For
more information, see “Moving Multiple Frames into the Workspace” on page 7-4. To
learn how to empty the memory buffer, see “Freeing Memory” on page 6-40.