Quantcast
Channel: Multifunction DAQ topics
Viewing all articles
Browse latest Browse all 6880

[Solved] Reset DAQ system from .NET application

$
0
0

Sometimes when my .NET application calls Task.AddGlobalChannel I get this error:

Device cannot be accessed.  Possible causes:

Device is no longer present in the system.
Device is not powered.
Device is powered, but was temporarily without power.
Device is damaged.

Ensure the device is properly connected and powered.  Turn the computer off and on again.  If you suspect that the device is damaged, contact National Instruments at ni.com/support.

Device Specified: cDAQ9188-1B57846Mod1

Task Name: _unnamedTask<0>

Status Code: -201003

This only occurs after my computer has been in sleep/hibernation. The solution is to click the Reset button in NI MAX. My question is however: How do I perform this reset programatically?

 

I have checked daqMX.DaqSystem.Local for any possible functions, but none seems to do what I need.


Viewing all articles
Browse latest Browse all 6880

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>