Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 

Previewing Stored Data

After starting the acquisition, you may want to preview the data stored in the data acquisition engine. You can preview data with the peekdata function. For example, if you want to graphically preview the most recently acquired 100 samples for each channel group member, you can use the peekdata and plot commands.

peekdata is a nonblocking function that returns execution control immediately to MATLAB. It does not guarantee that all data samples are acquired and processed without gaps. If the number of samples requested is greater than the number of samples in the current data block, the currently acquired samples are returned along with a warning message stating that all the requested samples were not available.

peekdata does not extract data from the engine. Extracting data from the engine is accomplished with the getdata function as described below.



[ Previous | Help Desk | Next ]