MATLAB IMAGE ACQUISITION TOOLBOX 3 Guida Utente Pagina 203

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 202
Creating and Executing Callback Functions
3 Acquire data Start the video input object. E very 5 seconds, the object
executes the callback function associated with the timer event. This
function outputs the current memory available for frame storage and the
memory load statistic. When the amount of memory reaches the specified
lower limit, the callback function stops the acquisition.
start(vid)
ans =
ans =
Memory left for frames: 27 791 360
Memory load: 88
ans =
Memory left for frames: 26 316 800
Memory load: 88
ans =
Memory left for frames: 24 842 240
Memory load: 89
.
.
.
Memory left for frames: 29 696 00
Memory load: 97
Memory available for frames getting low.
Stopping acquisiti on.
4 Clean up Always rem ove image acquisition objects from mem ory, and
the variables that re ference them, when you n o longer need them.
delete(vid)
clear vid
7-19
Vedere la pagina 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 407 408

Commenti su questo manuale

Nessun commento