MATLAB IMAGE ACQUISITION TOOLBOX 3 Guía de usuario Pagina 312

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 408
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 311
triggerconfig
input object obj using co nfi g, a MATLAB structure with field names
TriggerType, TriggerCondit ion,andTrigge rSource,eachcontaining
the d esired proper ty value.
Examples Example 1
Construct a video input object.
vid = videoinput('win video', 1);
Configure trigger properties for the object.
triggerconfig(vid, 'manual')
Trigger the a cquisition .
start(obj)
trigger(obj)
Remove video input object from memory.
delete(vid);
Example 2
This example uses a s tructure returned from triggerinfo to configure
trigger parameters.
Create a video input object.
vid = videoinput('win video', 1);
Use triggerinf o to get a ll valid configurations for the trigger
properties for the object.
config = triggerinfo( vid);
Pass one of the configurations to the triggerconfig function.
triggerconfig(vid,config(2));
Remove video input object from memory.
12-58
Vista de pagina 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 407 408

Comentarios a estos manuales

Sin comentarios