Function Reference


Device Object CreationCreate device objects
Channels and LinesAdd hardware channels and lines
Property Getting and SettingDisplay properties
Object ExecutionExecute device objects
Data ManipulationWork with acquired data
Information and HelpDisplay help information
UtilitiesGeneral Data Acquisition Toolbox software functionality

Device Object Creation

analoginputCreate analog input object
analogoutputCreate analog output object
digitalioCreate digital I/O object

Channels and Lines

addchannelAdd hardware channels to analog input or output object
addlineAdd hardware lines to digital I/O object
addmuxchannelAdd hardware channels to analog input objects when using National Instruments multiplexer board

Property Getting and Setting

getDevice object properties
inspectOpen Property Inspector
setConfigure or display device object properties
setverifyConfigure and return specified property

Object Execution

isloggingDetermine whether analog input object is logging data
isrunningDetermine whether device object is running
issendingDetermine whether analog output object is sending data
startStart device object
stopStop device object
triggerManually execute trigger for analog input or output object
waitWait until analog input or output device object stops running

Data Manipulation

flushdataRemove analog input data from data acquisition engine
getdataExtract analog input data, time, and event information from data acquisition engine
getsampleImmediately acquire one analog input sample
getvalueRead values from digital input and output lines
peekdataPreview most recent acquired analog input data
putdataQueue analog output data in engine for eventual output
putsampleImmediately output one analog output sample
putvalueWrite values to digital input and output lines

Information and Help

daqhelpHelp for device objects, constructors, adaptors, functions, and properties
daqhwinfoData acquisition hardware information
propinfoProperty characteristics for device objects, channels, or lines

Utilities

binvec2decConvert digital input and output binary vector to decimal value
clearRemove device objects from MATLAB workspace
daqcallbackCallback function that displays event information for specified event
daqfindReturn device objects, channels, or lines from data acquisition engine to MATLAB workspace
daqmemAllocate or display analog input and output memory resources
daqreadRead the Data Acquisition Toolbox (.daq) file for analog input
daqregisterRegister or unregister hardware driver adaptor
daqresetRemove device objects, engine MEX-file, and adaptor DLLs from memory
dec2binvecConvert digital input and output decimal value to binary vector
deleteRemove device objects, channels, or lines from data acquisition engine
dispSummary information for device objects, channels, or lines
ischannelCheck for channels
isdiolineCheck for lines
isvalidDetermine whether device objects, channels, or lines are valid
lengthLength of device object, channel group, or line group
loadLoad device objects, channels, or lines into MATLAB workspace
makenamesList descriptive channel or line names
muxchanidxMultiplexed scanned analog input channel index
obj2mfileConvert device objects, channels, or lines to the MATLAB code
saveSave device objects to MAT-file
showdaqeventsAnalog input and output event log information
sizeSize of device object, channel group, or line group
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS