0=clock;
0103 acq.tn=clock;
0104 
0105 <span class="comment">% Loop over frames to acquire and display</span>
0106 <span class="keyword">while</span> 1;
0107 
0108     <span class="comment">% Check for quit signal</span>
0109     <span class="keyword">if</span> acq.stop;
0110         <span class="keyword">break</span>;
0111     <span class="keyword">end</span>
0112     
0113     <span class="comment">% Calculate times</span>
0114     calctime = acq.samples_acquired / acq.params.Fs;
0115     acq.samples_acqu