Your DAQ Assistant task is continuous. Yet, you only read data once. So it would appear that a finite task would be better. I'm pretty sure that you get this error the second time you run this sub-vi because the task, started the first time you ran it, is still running. That's why you get the resource reserved error.