Data Acquisition Toolbox    

Demos

The toolbox includes a large collection of demos, which are divided into two main groups: command line tutorials and graphical applications. You can access all demos through the Help browser's Demos pane. Use the following command to open the Help browser to the toolbox demos.

Note that the analog input and analog output command line tutorials require that you have a sound card installed. The digital I/O tutorials require that you have a supported National Instruments board with digital I/O capabilities.

For your convenience, the command line tutorials are collected together using a graphical user interface (GUI). To open this GUI directly from the command line, type

The daqschool GUI is shown below.

All demos have an associated M-file, which are listed below. To run a particular demo, type the M-file name at the command line.

Common Demos

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

Demo Name
Description
demodaq_callback
Introduction to callback functions.
demodaq_intro
Introduction to the Data Acquisition Toolbox.
demodaq_save
Save and load device objects.
daqtimerplot
Example callback function that plots acquired data.

Analog Input Demos

The analog input demos are listed below.

Demo Name
Description
daqrecord
Record data from the specified adaptor.
daqscope
Example oscilloscope.
demoai_channel
Introduction to analog input channels.
demoai_fft
Fast Fourier transform (FFT) of an incoming signal.
demoai_intro
Introduction to analog input objects.
demoai_logging
Demonstrate logging data to a disk file.
demoai_trig
Demonstrate the use of immediate, manual, and software triggers.

Analog Output Demos

The analog output demos are listed below.

Demo Name
Description
daqfcngen
Example function generator.
daqplay
Output data to the specified adaptor.
daqsong
Output data from HANDEL.MAT to a sound card.
demoao_channel
Introduction to analog output channels.
demoao_intro
Introduction to analog output objects.
demoao_trig
Demonstrate the use of immediate and manual triggers.

Digital I/O Demos

The digital I/O demos are listed below.

Demo Name
Description
demodio_intro
Introduction to digital I/O objects.
demodio_line
Introduction to digital I/O lines.
diopanel
Example panel for transferring values between MATLAB and a digital I/O subsystem.


  Understanding the Toolbox Capabilities Examining Your Hardware Resources