write
Write output scans to hardware channels
Syntax
Description
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,
writesends the data and starts device output generation. As a finite foreground generation, this blocks MATLAB until completed.If the DataAcquisition had already been started,
writeprovides the data for the output operation to begin, which then runs in the background without blocking MATLAB. Thestartfunction arguments determine if the generation is finite, repeating, or continuous. Continuous output requireswriteto provide data for as long as output is needed; multiple calls towritemight be necessary.
Examples
Input Arguments
Version History
Introduced in R2020a