LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error-229771 and MAX database is not running

HI

I am trying to build a Application and I am having issues.

I am using LabView 2011, Max5.5 and cDAQ-1988 with a few assorted modules. I am taking Temperatures, and controlling some different relays. The test is a 56 day test and the application will need to run continually while collecting data.

I can create the application and the installer using these instructions. http://www.ni.com/white-paper/5406/en

The application seems to install fine but it does not recognize the cDAQ-1988 and modules then I get a couple errors “error-229771 and MAX database is not running”. The DAQmx tasks do not show up. The application does start but just hangs there as you would expect with no connections to the equipment.

I have tried resetting MAX and it does the same thing.

Any Ideas?

Thank you

0 Kudos
Message 1 of 13
(4,627 Views)

Hi antique, 

 

Just a few questions:

  1. Is the cDAQ that you are using cDAQ 9188?
  2. What is the DAQmx version that you are using?
  3. When you mentioned that you get a couple of errors. May I know what is the error code of the other error message other than error -229771? Screenshots would be great. 

I was looking for the error -229771, I have found the following link: http://digital.ni.com/public.nsf/allkb/03123D0E8A36C48E862577A4005B6BAA?OpenDocument. I'm not sure if this is the same error message that you have encountered. Perhaps you can look into it and see if the troubleshooting steps mentioned in the link helps?   

 

When you said resetting the MAX, do mean the following link: http://digital.ni.com/public.nsf/allkb/86256F0E001DA9FF86256FFD005B827C?OpenDocument?

 

Warmest regards,

Lennard.C

Learning new things everyday...
0 Kudos
Message 2 of 13
(4,607 Views)

When you were building your installer what additional NI installers did you check to include?  Did you select the "DAQmx Core Runtime"?

0 Kudos
Message 3 of 13
(4,589 Views)

I tried it once with just NI-DAQmx Application Development Support 9.4 and was getting the same errors. The second time I checked NI-DAQmx Application Development Support 9.4, NI-DAQmx Core Runtime 9.4 and NI-DAQmx MAX configuration Support 9.4. Got the same errors and before.

0 Kudos
Message 4 of 13
(4,577 Views)

error-229771.pngerror-229771.png

 

Here are the 2 errors I am getting

 

0 Kudos
Message 5 of 13
(4,576 Views)

I will try and answer the questions

1. Yes it is a cDAQ 9188

2. It is DAQmx 9.4

3. I have the screen shots in another post in this thread.

 

The -229771 I did follow the direction in that link and the NI Config Manager has Stopped. I did not see anyway to start it running.

 

Resetting MAX. Yes that was the instructions I used to do the reset.

0 Kudos
Message 6 of 13
(4,575 Views)

Hi antique,

 

The second screenshot error that you having is found here: http://digital.ni.com/public.nsf/allkb/DC83E8CF04CE5AB686257539006131FE

 

It mentions the following:

 

The NI Configuration Manager service is stopped. This is possibly due to the computer not being rebooted after an installation of NI software. Please restart the computer and try again.

You can also restart the NI Configuration Manager manually through the following steps:

  1. Go to Start»Settings»Control Panel»Administrative Tools»Services.
  2. Right-click the NI Configuration Manager entry and select Restart.

There is also a mention on how to start up the NI Configuration Manager found in this link: http://digital.ni.com/public.nsf/allkb/B9107A7F281F9B408625720B0078E5A8?OpenDocument&metc=MAXGeneral... 

 

  1. NI Configuration Manager or NI Device Loader (nidevldu) Services Not Started

    To verify if the NI Configuration Manager service is started and operating, go to Control Panel»Administrative Tools»Services. Scroll down to NI Configuration Manager (may show up as nidevldu).  You may also launch Services by navigating to Start»Run and enteringservices.msc.

    Update: If the NI Configuration Manager service does not appear in the list or has problems starting, the first thing to try is a Repair of MAX. Renaming/deleting the Data folder or un-installing and re-installing software is often unnecessary. To Repair MAX, go to Control Panel»Add or Remove Programs, find National Instruments Software in the list, and clickChange/Remove. Find NI Measurement & Automation Explorer in the list, and click Repair

    Make sure the service's Status is started. If it is not, right-click it and select Start. Also, try restarting the NI Device Loader service. For these changes to take effect, close out of Administrative Tools, and restart MAX. If the NI Configuration Manager or nidevldu service was not started before, MAX should now be able to operate correctly.

     

    Let me know how it goes.

     

    Warmest regards,

    Lennard.C

Learning new things everyday...
0 Kudos
Message 7 of 13
(4,554 Views)
Thanks for the replys. It is somewhat working. I went in "services" and the NI Configuration manager and Device Loader were both off. I started them and then had to refresh and keep fiddling with MAX, Clicking the Reserve Chassis it will scan again then click the Reserve chassis again and the modules will populate. If I turn the PC off or reboot then I have to do it all over again. Is that normal? I also have to manually restart the NI configuration manager and the Device Loader every time the PC is rebooted. Is that normal or can that be fixed?
0 Kudos
Message 8 of 13
(4,533 Views)

Hi antique,

 

Good to hear it works. At least you did not encounter the error code -88705, I think the below link might explain why NI Configuration Manager and Device Loader is not started when you boot your PC:

Why Are NI Device Loader (nidevldu) and NI Configuration Manager Services Not Starting and Giving an Error -88705? 

http://digital.ni.com/public.nsf/allkb/0819391CA91B3EB38625731D00024649?OpenDocument

 

The link also mentions the troubleshooting steps which you can try on. Out of curiousity, were you happen to be using McAfee? 

 

Hope it helps

 

Warmest regards,

Lennard.C

Learning new things everyday...
0 Kudos
Message 9 of 13
(4,525 Views)

I did get it working. The target PC did not have McAfee but was running Zone Alarm and that was part of or the entire problem. It had a lot of the NI software blocked and even though I was turning off ZA after the pc booted it seems to have shut down the software while the pc was booting up. I went in and told it to allow all of the NI software and it seems to work fine. The one thing I need to fix now is the fact that I have to go into MAX each time I reboot and Unreserve the and Rereserve the device for the modules to operate correctly. Is there any way to fix that so I do not have to do that each time?

Thanks for all of the help

0 Kudos
Message 10 of 13
(4,495 Views)