NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
manu.NET

DaqMX should check the state of NI services ...

Status: New
by Member manu.NET on ‎06-25-2012 04:12 AM

Hello,

 

DaqMx Vis only works when the NI Device Loader service is running.

 

If this windows service is not running, DaqMx functions generates error like "Device not found..., undefined board, undefined hardware ...."

 

For some week, i get such an error and it take me a long time to point the real cause !

A windows or software update had changed the service startup sequence ... and the Ni device loader service was no more starting.

The solution to this problem was to configure the NI Device Loader service in order to force restart on start failure. 

 

It should be nice if daqMX functions could generate the "right error".

 

An error like : "Ni services are not running please check their current state ... The DaqMx devices could not be accessed when Ni Device Loader service is not running".

 

This problem also generates problem in MAX ! (The device treeview takes a long time to expand ... and the device autotest fail)

 

 

Thanks for kudossing this idea which could help understanding windows services problems.

Comments
by Member bstreiff on ‎07-10-2012 08:28 AM

NI-DAQmx 9.5.5 was just released, which improves the reliability of the NI Device Loader service.

by Member manu.NET on ‎07-15-2012 02:49 AM

Hello bstreiff,

 

My idea has nothing against Ni Device Loader service.

The problem is, that particular windows configurations, or third party software installations, can cause the Ni Device Loader Service to starv !

 

So the idea is : Because the Ni Device Loader service is required for DaqMx and Max, the wellness of this service should be checked when these tools are launched ! Improving the service will not correct the third party problems !

 

A little check ... for well behaviour of NI products !

 

I add this check in my Labview applications. ( under DOS : SC QUERY <Service name> )

 

Manu.net 

by Member gwjtstengr on ‎08-14-2012 08:27 PM

Hi Manu.net,

 

I agree, a check to see if NI Device Loader Service has started, and a more specific error message

when it has failed would be helpful.  I recently spent several hours over a couple of weeks trying

to figure out why my USB DAQ was not always starting correctly when plugged in. 

 

A helpful NI Application Engineer pointed me to instructions for changing the NI Device Loader

Service recovery properties as you mentioned.  This has worked well, so far.  However, having

more specific failure diagnostics might have led me to this solution sooner.

 

Regards,

 

gwjtstengr

 

 

About Data Acquisition Idea Exchange

Have an idea for new DAQ hardware or DAQ software features?

  1. Browse by label or search in the Data Acquisition Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see implemented!
Idea Statuses
Top Kudoed Authors
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page