Starts analog output scanning
This function is part of analog scan functionality and has to be called in the following sequence:
Initialize scanning session - mdaqAOScanInit()
Start scanning session - mdaqAOScan()
Queue new data - mdaqAOScanData()
Stop scanning session - mdaqAOScanStop()
This function starts analog output scanning. A function call has to be preceded with mdaqAOScanInit() which initiates analog output scanning session parameters. Function enables MicroDAQ hardware to output data on selected AO channels and returns immediately (doesn't block Matlab console). In order to stop scanning, function mdaqAOScanStop() has to be called.
Limitation: ADC1-DAC01 MicroDAQ configuration doesn't support running simultaneously AI and AO scanning sessions.
Generate 10Hz sine waveform on AO1 for 5 sec.