MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guía de usuario Pagina 164

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 574
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 163
6 Acquiring Image Data
6-16
'hardware' 'risingEdge' 'TTL'
'hardware' 'fallingEdge' 'TTL'
3
Configure properties — Configure the video input object trigger properties to one
of the valid combinations returned by triggerinfo. You can specify each property
value as an argument to the triggerconfig function
triggerconfig(vid, 'hardware','risingEdge','TTL')
Alternatively, you can set these values by passing one of the structures returned by
the triggerinfo function to the triggerconfig function.
configs = triggerinfo(vid);
triggerconfig(vid,configs(3));
This example also sets the value of the FramesPerTrigger property to 5. (The
default is 10 frames per trigger.)
vid.FramesPerTrigger = 5
4
Start the image acquisition object — Call the start function to start the image
acquisition object.
start(vid)
The object is running but not logging any data.
isrunning(vid)
ans =
1
islogging(vid)
ans =
0
The hardware begins monitoring the trigger source for the specified condition. When
the condition is met, the hardware executes a trigger and begins providing image
frames to the object. The object acquires the number of frames specified by the
FramesPerTrigger property. View the value of the FramesAcquired property to
see how much data was acquired. The object updates the value of this property as it
acquires data.
Vista de pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 573 574

Comentarios a estos manuales

Sin comentarios