If using a multi-function DAQ card where AO channels are accessed by this custom device and other channels are used by the built-in DAQ functionality in VeriStand, errors will happen during deployment.
The specific error that was observed is Error -200088: "Task specified is invalid or does not exist"
However, this error is misleading. The actual error that is hapenning in DAQmx Start is Error -89137 "Specified route cannot be satisfied, because it requires resources that are currently in use by another route".
The error explanation and solution is documented in the next article:
Why Do I Get Error -89137 with My NI VeriStand Custom Device?
http://digital.ni.com/public.nsf/allkb/835392368BA3FCED86257B180072BF81?OpenDocument