Data Acquisition Toolbox    
putsample

Immediately output one sample

Syntax

Arguments

obj
An analog output object.
data
The data to be queued in the engine.

Description

putsample(obj,data) immediately outputs the row vector 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:

Example

Create the analog output object ao for a National Instruments board and add two hardware channels to it.

To call putsample for ao:

See Also

Functions

putdata


  putdata putvalue