Solution
This error is caused by calling both niDCPower_SetSequence and niDCPower_CreateAdvancedSequence within the same session.
To resolve this issue, please use only one of these functions per session, or perform a reset between the calls to niDCPower_SetSequence and niDCPower_CreateAdvancedSequence.