Hi,
I found some information among th KBs regarding your error:
"
This error is likely caused when you have at least one DAQ Assistant Express VI configured for single point acquisition (acquire 1 sample). One of the inputs to that VI is labeled Stop. If True, this input stops the task and releases device resources when the Express VI completes execution. For single point input/output (I/O), wiring False to this input optimizes performance, but does not release the device resources. Thus, if you try to perform any further acquisition with that same DAQ device, you receive this error, which correctly states that the specified resource is reserved. To avoid this error, be sure to pass a True to the Stop input on the last iteration of your loop.
"
From KB: 2
WT74JMM
I downloaded your attached program but didn´t find any Daq Assistant for digital output. So I can´t reproduce your error, but I hope the information above helps!
regards
Robert S
National Instruments Sweden