| Data Acquisition Toolbox™ | ![]() |
Function Reference | Alphabetical List |
The functions and the device objects they are associated with are categorized according to usage as shown below. The supported device objects include analog input (AI), analog output (AO), and digital I/O (DIO). The tables indicate which object types each function supports.
|
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Create analog input object | ✓ | |||
Create analog output object | ✓ | |||
Create digital I/O object | ✓ |
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Add hardware channels to analog input or analog output object | ✓ | ✓ | ||
Add hardware lines to digital I/O object | ✓ | |||
Add hardware channels when using multiplexer board (National Instruments® only) | ✓ |
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Return device object properties | ✓ | ✓ | ✓ | |
Open Property Inspector | ✓ | ✓ | ✓ | |
Configure or display device object properties | ✓ | ✓ | ✓ | |
Configure and return specified property | ✓ | ✓ | ✓ |
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Determine if analog input object is logging data | ✓ | |||
Determine if device object is running | ✓ | ✓ | ✓ | |
Determine if analog output object is sending data | ✓ | |||
Start device object | ✓ | ✓ | ✓ | |
Stop device object | ✓ | ✓ | ✓ | |
Manually execute trigger | ✓ | ✓ | ||
Wait for device object to stop running | ✓ | ✓ |
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Remove data from data acquisition engine | ✓ | |||
Extract data, time, and event information from data acquisition engine | ✓ | |||
Immediately acquire one sample | ✓ | |||
Read values from lines | ✓ | |||
Preview most recent acquired data | ✓ | |||
Queue data in engine for eventual output | ✓ | |||
Immediately output one sample | ✓ | |||
Write values to lines | ✓ |
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Display help for device objects, constructors, adaptors, functions, and properties | ✓ | ✓ | ✓ | |
Display data acquisition hardware information | ✓ | ✓ | ✓ | |
Return property characteristics for device objects, channels, or lines | ✓ | ✓ | ✓ |
Function | Purpose | AI | AO | DIO |
|---|---|---|---|---|
Convert binary vector to decimal value | ✓ | |||
Remove device objects from MATLAB® workspace | ✓ | ✓ | ✓ | |
Callback function that displays event information for specified event | ✓ | ✓ | ✓ | |
Return device objects, channels, or lines from data acquisition engine to MATLAB workspace | ✓ | ✓ | ✓ | |
Allocate or display memory resources | ✓ | ✓ | ||
Read the Data Acquisition Toolbox™ (.daq) file | ✓ | |||
Register or unregister hardware driver adaptor | ✓ | ✓ | ✓ | |
Remove device objects, engine MEX-file, and adaptor DLLs from memory | ✓ | ✓ | ✓ | |
Convert decimal value to binary vector | ✓ | |||
Remove device objects, channels, or lines from data acquisition engine | ✓ | ✓ | ✓ | |
Display summary information for device objects, channels, or lines | ✓ | ✓ | ✓ | |
Check for channels | ✓ | ✓ | ✓ | |
Check for lines | ✓ | ✓ | ✓ | |
Determine if device objects, channels, or lines are valid | ✓ | ✓ | ✓ | |
Return length of device object, channel group, or line group | ✓ | ✓ | ✓ | |
Load device objects, channels, or lines into MATLAB workspace | ✓ | ✓ | ✓ | |
Generate list of descriptive channel or line names | ✓ | ✓ | ✓ | |
Return multiplexed scanned channel index (National Instruments® only) | ✓ | |||
Convert device objects, channels, or lines to the MATLAB code | ✓ | ✓ | ✓ | |
Save device objects to MAT-file | ✓ | ✓ | ✓ | |
Display event log information | ✓ | ✓ | ||
Return size of device object, channel group, or line group | ✓ | ✓ | ✓ |
![]() | Building Simulink® Models to Acquire Data from a Device | Functions — Alphabetical List | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |