Data Acquisition Toolbox | ![]() ![]() |
Syntax
Arguments
obj |
An analog output object. |
data |
The data to be queued in the engine. |
Description
immediately outputs the row vector putsample(obj,data)
data
, which consists of one sample for each channel contained by obj
.
Remarks
Using putsample
is a good way to test your analog output configuration. Additionally:
putsample
does not store samples in the data acquisition engine.
putsample
can be executed at any time after channels have been added to obj
.
putsample
is not supported for sound cards.
Example
Create the analog output object ao
for a National Instruments board and add two hardware channels to it.
Functions
![]() | putdata | putvalue | ![]() |