MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guida Utente Pagina 141

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 140
Starting and Stopping a Video Input Object
5-23
The following example illustrates starting and stopping an object:
1
Create an image acquisition object — This example creates a video input object
for a webcam 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('winvideo',1);
2
Verify that the image is in a stopped state — Use the isrunning function to
determine the current state of the video input object.
isrunning(vid)
ans =
0
3
Configure properties To illustrate object states, set the video input object's
TriggerType property to 'Manual'. To set the value of certain trigger properties,
including the TriggerType property, you must use the triggerconfig function.
See “Setting the Values of Trigger Properties” on page 6-6 for more information.
triggerconfig(vid, 'Manual')
Configure an acquisition that takes several seconds so that you can see the video
input in logging state.
vid.FramesPerTrigger = 100;
4
Start the image acquisition object — Call the start function to start the image
acquisition object.
start(vid)
5
Verify that the image is running but not logging — Use the isrunning and
islogging functions to determine the current state of the video input object. With
manual triggers, the video input object is in running state after being started but
does not start logging data until a trigger executes.
isrunning(vid)
ans =
1
Vedere la pagina 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 573 574

Commenti su questo manuale

Nessun commento

Minuteman Smart Up Series manuels

Manuels d'utilisation et guides de l'utilisateur pour Alimentations sans interruption (UPS) Minuteman Smart Up Series.
Nous fournissons des manuels en pdf 2 Minuteman Smart Up Series à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Alimentations sans interruption (UPS) Minuteman

Modèles Type de document
MBK-E Series Manuel de l'utilisateur   Minuteman MBK-E Series User`s manual, 2 pages
Endeavor Manuel de l'utilisateur   Minuteman Endeavor User`s manual, 17 pages
AT1200 Manuel du propriétaire   Minuteman AT1200 Owner`s manual, 14 pages
BP192RTXL Manuel de l'utilisateur   Minuteman BP192RTXL User`s manual, 12 pages
Continuous Power Series Manuel de l'utilisateur   - Parker Sweeper, 12 pages
Pro 2200r Informations techniques   Minuteman Pro 2200r Technical information, 50 pages
MCP 10001 Spécifications   Minuteman MCP 10001 Specifications [en] , 27 pages
Continuous Power Series Manuel de l'utilisateur    Minuteman Continuous Power Series User`s manual, 44 pages
Pro 2200r Spécifications   Minuteman Pro 2200r Specifications, 125 pages