Data Acquisition Toolbox | ![]() ![]() |
Functions - By Category
This section contains brief descriptions of all toolbox functions. The functions and the device objects they are associated with are categorized according to usage. The supported device objects include analog input (AI), analog output (AO), and digital I/O (DIO).
A number of other MATLAB M-file helper functions are provided with this toolbox to support the functions listed below. These helper functions are not documented because they are not intended for direct use.
Creating Device Objects | AI |
AO |
DIO |
|
analoginput |
Create an analog input object. |
![]() |
||
analogoutput |
Create an analog output object. |
![]() |
||
digitalio |
Create a digital I/O object. |
![]() |
Adding Channels and Lines | AI |
AO |
DIO |
|
addchannel |
Add hardware channels to an analog input or analog output object. |
![]() |
![]() |
|
addline |
Add hardware lines to a digital I/O object. |
![]() |
||
addmuxchannel |
Add hardware channels when using a multiplexer board. |
![]() |
Getting and Setting Properties | AI |
AO |
DIO |
|
get |
Return device object properties. |
![]() |
![]() |
![]() |
set |
Configure or display device object properties. |
![]() |
![]() |
![]() |
setverify |
Configure and return the specified property. |
![]() |
![]() |
![]() |
Executing the Object | AI |
AO |
DIO |
|
start |
Start a device object. |
![]() |
![]() |
![]() |
stop |
Stop a device object. |
![]() |
![]() |
![]() |
trigger |
Manually execute a trigger. |
![]() |
![]() |
|
waittilstop |
Wait for the device object to stop running. |
![]() |
![]() |
Working with Data | AI |
AO |
DIO |
|
flushdata |
Remove data from the data acquisition engine. |
|||
getdata |
Extract data, time, and event information from the data acquisition engine. |
![]() |
||
getsample |
Immediately acquire one sample. |
![]() |
||
getvalue |
Read values from lines. |
![]() |
||
peekdata |
Preview most recent acquired data. |
![]() |
||
putdata |
Queue data in the engine for eventual output. |
![]() |
||
putsample |
Immediately output one sample. |
![]() |
||
putvalue |
Write values to lines. |
![]() |
Getting Information and Help | AI |
AO |
DIO |
|
daqhelp |
Display help for device objects, constructors, adaptors, functions, and properties. |
![]() |
![]() |
![]() |
daqhwinfo |
Display data acquisition hardware information. |
![]() |
![]() |
![]() |
daqpropedit |
Open the Data Acquisition Property Editor. |
![]() |
![]() |
![]() |
propinfo |
Return property characteristics for device objects, channels, or lines. |
![]() |
![]() |
![]() |
General Purpose | AI |
AO |
DIO |
|
binvec2dec |
Convert binary vector to decimal value. |
![]() |
||
clear |
Remove device objects from the MATLAB workspace. |
![]() |
![]() |
![]() |
daqcallback |
A callback function that displays event information for the specified event. |
![]() |
![]() |
![]() |
daqfind |
Return device objects, channels, or lines from the data acquisition engine to the MATLAB workspace. |
![]() |
![]() |
![]() |
daqmem |
Allocate or display memory resources. |
![]() |
![]() |
|
daqread |
Read a Data Acquisition Toolbox (.daq ) file. |
![]() |
||
daqschool |
Interface for displaying toolbox tutorials. |
![]() |
![]() |
![]() |
daqregister |
Register or unregister a hardware driver adaptor. |
![]() |
![]() |
![]() |
daqreset |
Remove device objects and data acquisition DLLs from memory. |
![]() |
![]() |
![]() |
dec2binvec |
Convert decimal value to binary vector. |
![]() |
||
delete |
Remove device objects, channels, or lines from the data acquisition engine. |
![]() |
![]() |
![]() |
disp |
Display summary information for device objects, channels, or lines. |
![]() |
![]() |
![]() |
ischannel |
Check for channels. |
![]() |
![]() |
![]() |
isdioline |
Check for lines. |
![]() |
![]() |
![]() |
isvalid |
Determine whether device objects, channels, or lines are valid. |
![]() |
![]() |
![]() |
length |
Return the length of a device object, channel group, or line group. |
![]() |
![]() |
![]() |
load |
Load device objects, channels, or lines into the MATLAB workspace. |
![]() |
![]() |
![]() |
makenames |
Generate a list of descriptive channel or line names. |
![]() |
![]() |
![]() |
muxchanidx |
Return multiplexed scanned channel index. |
![]() |
||
obj2mfile |
Convert device objects, channels, or lines to MATLAB code. |
![]() |
![]() |
![]() |
save |
Save device objects to a MAT-file. |
![]() |
![]() |
![]() |
showdaqevents |
Display event log information. |
![]() |
![]() |
|
size |
Return the size of a device object, channel group, or line group. |
![]() |
![]() |
![]() |
![]() | Getting Command Line Function Help | Functions - Alphabetical List | ![]() |