Data Acquisition Toolbox
  Function/Property:
    Search    Help Desk 

Data Acquisition Toolbox Functions

This section describes the Data Acquisition Toolbox M-file functions that you can use directly. These functions and the device objects they are associated with are organized into the six groups shown below.

Creating Device Objects
AI
AO
DIO
analoginput
Create an analog input object.
3


analogoutput
Create an analog output object.

3

digitalio
Create a digital I/O object.


3

Configuring Device Objects
AI
AO
DIO
addchannel
Add hardware channels to an analog input or analog output object.

3
3

addline
Add hardware lines to a digital I/O object.


3
get
Return property values.
3
3
3
set
Configure or display property values.

3
3
3
setverify
Set and return the specified property value.

3
3
3

Executing the Object
AI
AO
DIO
start
Start the execution of a device object.

3
3
3
stop
Stop the execution of a device object.

3
3
3
trigger
Manually execute a trigger.

3
3
3

Working with Data
AI
AO
DIO
flushdata
Remove data from the data acquisition engine.
3
3

getdata
Return data, time, and event information to the MATLAB workspace for an analog input.
3

3
getsample
Return one sample for each analog input channel group member or digital I/O line group member.
3

3
peekdata
Immediately return data to the MATLAB workspace for an analog input object.
3


putdata
Queues data in the engine for eventual output to the D/A hardware.

3
3
putsample
Send one sample for each analog output channel group member or digital I/O line group member.

3
3

Getting Information and Help
AI
AO
DIO
daqhelp
Display help for device objects, constructors, functions, and properties.

3
3
3
daqhwinfo
Display data acquisition hardware information.

3
3
3
nidaq
Display information about National Instruments adaptor

3
3
3
propinfo
Return property information for device objects, channels, or lines.
3
3
3
winsound
Display information for sound card adaptor

3
3
3

General Purpose
AI
AO
DIO
clear
Clear device objects from the MATLAB workspace.

3
3
3
daqaction
Display event information for specified event

3
3

daqfind
Return device objects, channels, or lines from the data acquisition engine to the workspace.

3
3
3
daqread
Read a Data Acquisition Toolbox (.daq) file.

3


daqmem
Allocate or display memory for one or more device objects.

3
3
3
daqregister
Register or unregister a Data Acquisition Toolbox adaptor.

3
3
3
daqreset
Remove data acquisition objects and .dll files from memory.

3
3
3
delete
Delete device objects, channels, or lines.

3
3
3
disp
Display device object, channel, and line information.
3
3
3
ischannel
Check for channels.
3
3

isline
Check for lines


3
isvalid
Check for valid device objects, channels, or lines.
3
3
3
length
Determine length of data acquisition objects.
3
3
3
load
Load device objects into the MATLAB workspace
3
3
3
makenames
Generate a list of channel or line names.
3
3
3
obj2code
Convert device objects, channels, or lines to MATLAB code and save to disk.
3
3
3
save
Save device objects to a MAT-file.
3
3
3
size
Determine size of data acquisition objects.
3
3
3

A number of other MATLAB M-file helper functions are provided with this toolbox to support the functions listed above. These helper functions are not documented since they are not intended for direct use.



[ Previous | Help Desk | Next ]