Solution
The main cause of this issue is memory fragmentation.
This issue has been improved starting from NI‑DCPower 26, and the application can now run continuously for at least five days without any problems.
If you are unable to upgrade the NI‑DCPower driver and prefer the program to display an error dialog instead of hanging, you can modify niDCPower Reset.vi using the following method.