| Data Acquisition Toolbox | Search  Help Desk |
Queueing Data for Output
After the trigger executes, you can output data to the D/A converter. For data to be output, it must first be queued in the engine with theputdata function.
putdata(ao, data);
data is an m-by-n array where m is the number of samples to output and n is the number of output channels.
You can use putdata to queue data either before or after the start command is issued. putdata will not return execution control to MATLAB until the requested samples are queued. Additionally, if data is queued before start is issued, then putdata cannot be called again until the queued data is finished outputting. putdata is described in detail in "Managing Output Data" and in Chapter 6, "Function Reference."