Write output scans to hardware channels
write(
writes
scan data to the DataAcquisition interface for the device output. The DataAcquisition might
already be started or not. d
,scanData
)
If the DataAcquisition has not been started, write
sends the
data and starts device output generation. As a finite foreground generation, this
blocks MATLAB until completed.
If the DataAcquisition had already been started, write
provides the data for the output operation to begin, which then runs in the background
without blocking MATLAB. The start
function arguments determine
if the generation is finite, repeating, or continuous. Continuous output requires
write
to provide data for as long as output is needed;
multiple calls to write
might be necessary.