I am running the attached code Merrit_Coil_calibration, and I get the following error:
Error -200587 occurred at DAQmx Start Task.vi:7
Possible reason(s):
Requested operation could not be performed, because the specified digital lines are either reserved or the device is not present in NI-DAQmx.
It is possible that these lines are reserved by another task, the device is being used through the Traditional NI-DAQ interface, or the device is being reset. You might also get the error if the specified resource is currently in use by LabVIEW network variables bound to the DAQ Channel, or if the DAQ Channel is being used in any OPC Client software.
If you are using these lines with another task, wait for the task to complete. If you are using the device through the Traditional NI-DAQ interface, and you want to use it with NI-DAQmx, reset (initialize) the device using the Traditional NI-DAQ interface. If you are resetting the device, wait for the reset to finish.
Device: Dev2
Task Name: _unnamedTask<F>
I am calling the same DAQ, many different places in my code and I think that is the problem, but I can not figure out why or hw to fix it. Anyone have any suggestions?