Solution
This error occurs when any of the parameters in the Analog Output/DAQmx Write are incorrect. Double check all the parameters with the device specifications sheet in order to ensure the correct values are being used. Sometimes when upgrading hardware, the new device may have slightly different specifications, even when it's considered a drop-in replacement.