LabVIEW Hang While Executing niDCPower Reset VI

Updated Feb 10, 2026

Reported In

Driver

  • NI-DCPower

Other

Windows 10

Issue Details

I am using NI‑DCPower 24.5 on Windows 10 to run a modified NI example(NI-DCPower Source DC Voltage) with looping the niDCPower Reset.vi. for 100 times. 
 
After testing for about 13 hours, the program hangs and becomes unresponsive.
When I enable IO Trace and run it again, I can see that it gets stuck at niDCPower Reset.vi.
How can I resolve this issue?

 

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.
 

 

Additional Information

04128603