With the single task vi, I get the error
--------------------------------------------
Error -200019 occurred at DAQmx Read (Analog 2D DBL NChan NSamp).vi
Possible reason(s):
ADC conversion attempted before the prior conversion was complete.
Increase the period between ADC conversions. If you are using an
external clock, check your signal for the presence of noise or glitches.
--------------------------------------------
For the separate task vi, I get the error
---------------------------------------------
Error -50103 occurred at DAQmx Start Task.vi
Possible reason(s):
The specified resource is reserved. The operation could not be completed as specified.
Task Name: _unnamedTask<348>
---------------------------------------------