User`s guide

Bringing Image Data into the MATLAB Workspace
7-7
Frames Returned by peekdata
Note: The peekdata function does not return any data while running if in disk logging
mode.
The following example illustrates how to use peekdata:
1
Create an image acquisition object — This example creates a video input object
for a Data Translation image acquisition device. To run this example on your system,
use the imaqhwinfo function to get the object constructor for your image acquisition
device and substitute that syntax for the following code.
vid = videoinput('dt',1);
2
Configure properties — For this example, configure a manual trigger. You must
use the triggerconfig function to specify the trigger type.
triggerconfig(vid,'manual')