User`s guide
18 Properties — Alphabetical List
18-6
DiskLogger
Specify MATLAB VideoWriter file used to log data
Description
The DiskLogger property specifies the VideoWriter or AVI file object used to log data
when the LoggingMode property is set to 'disk' or 'disk&memory'. For the best
performance, VideoWriter is the recommended file type.
VideoWriter File
For the best performance, logging to disk requires a MATLAB VideoWriter object,
which is a MATLAB object, not an Image Acquisition Toolbox object. After you create and
configure a VideoWriter object, you provide it to the DiskLogger property.
A MATLAB VideoWriter object specifies the file name and other characteristics.
For example, you can use VideoWriter properties to specify the profile used for data
compression and the desired quality of the output. For complete information about the
VideoWriter object and its properties, see the VideoWriter documentation.
Note Do not use the variable returned by the VideoWriter function to perform any
operation on a VideoWriter file while it is being used by a video input object for data
logging. For example, do not change any of the VideoWriter file properties, add frames, or
close the object. Your changes could conflict with the video input object.
After Logging and Running are off, it is possible that the DiskLogger might still be
writing data to disk. When the DiskLogger finishes writing data to disk, the value of
the DiskLoggerFrameCount property should equal the value of the FramesAcquired
property. Do not close or modify the DiskLogger until this condition is met.
For more information about logging image data using a VideoWriter file, see “Logging
Image Data to Disk”.