Data Acquisition Toolbox | ![]() ![]() |
Acquiring and Outputting Data
After you configure the device object, you can acquire or output data. Acquiring and outputting data involves these three steps:
As data is being transferred between MATLAB and your hardware, you can think of the device object as being in a particular state. Two types of states are defined for the Data Acquisition Toolbox:
Running
property for both analog input and analog output objects. Running
can be On
or Off
.
Logging
property. Logging
can be On
or Off
.
Sending
property. Sending
can be On
or Off
.
Running
, Logging
, and Sending
are read-only properties that are automatically set to On
or Off
by the engine. When Running
is Off
, Logging
and Sending
must be Off
. When Running
is On
, Logging
and Sending
are set to On
only when a trigger occurs.
Note Digital I/O objects also possess a running state. However, because they do not store data in the engine, the logging and sending states do not exist. |
![]() | The Data Acquisition Property Editor | Starting the Device Object | ![]() |