MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guia do Utilizador Página 482

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 481
17 Functions — Alphabetical List
17-90
names of config are TriggerType, TriggerCondition, and TriggerSource. Each
field contains the current value of the object's property.
triggerconfig(obj,config) configures the TriggerType, TriggerCondition, and
TriggerSource property values for video input object obj using config, a MATLAB
structure with field names TriggerType, TriggerCondition, and TriggerSource,
each containing the desired property value.
Examples
Example 1
Construct a video input object.
vid = videoinput('winvideo', 1);
Configure trigger properties for the object.
triggerconfig(vid, 'manual')
Trigger the acquisition.
start(vid)
trigger(vid)
Remove video input object from memory.
delete(vid);
Example 2
This example uses a structure returned from triggerinfo to configure trigger
parameters.
Create a video input object.
vid = videoinput('winvideo', 1);
Use triggerinfo to get all valid configurations for the trigger properties for the object.
config = triggerinfo(vid);
Vista de página 481
1 2 ... 477 478 479 480 481 482 483 484 485 486 487 ... 573 574

Comentários a estes Manuais

Sem comentários