Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 

Demos

The Data Acquisition Toolbox includes several useful demos, which are located in the daqdemos directory. You can launch any installed demo by typing

at the command line. Alternatively, you can launch any Data Acquisition Toolbox command-line demo by typing

at the command line. You can also run individual demos by typing the appropriate M-file name at the command line. The demos are described below.

Common Demos

The common demos illustrate features which are common to all supported device objects. These demos are listed below.

The demo...
Shows you...
demodaq_action
How to create action functions for displaying event information to the MATLAB command window and plotting data as it is acquired
demodaq_intro
How to determine which hardware and adaptors are installed on your machine, how to determine what device objects can be created for each installed adaptor, and how to obtain help on properties and functions
demodaq_save
How to save and load device objects and how to convert device objects to equivalent MATLAB commands

Analog Input Demos

The analog input demos are listed below.

The demo...
Shows you...
daqrecord
How to record data from the specified adaptor
daqscope
An example oscilloscope window for displaying input signals
demoai_channel
How to add and configure channels for an analog input object
demoai_fft
An example fast Fourier transform (FFT) of an input signal from a sound card
demoai_intro
How to configure properties, add channels, acquire data, and plot data for an analog input object
demoai_logging
How to configure an analog input object for data logging
demoai_trig
How to acquire data using an immediate, manual, and software trigger, and how to configure various triggering properties for each trigger type

Analog Output Demos

The analog output demos are listed below.

The demo...
Shows you...
daqfcngen
An example function generator window which can be used with analog output objects
daqplay
How to output data to the specified adaptor
daqsong
How to output the data from HANDEL.MAT to a sound card
demoao_channel
How to add and configure channels for an analog output object
demoao_intro
How to configure properties, add channels, and output data to a soundcard
demoao_trig
How to output data using an immediate and manual trigger and how to configure various triggering properties for each trigger type



[ Previous | Help Desk | Next ]