LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Max and LV using daq libraries hang on startup

I am utilizing daq and daqmx libraries in my code. Two days ago my application which has been working for years started hanging up Labview on loading. I traced the problem to daq libraries. I can open any LV existing code as long as it does not include any daq or daqmx links. If I attempt to load any vis referencing daq libraries the LV hangs and nothing but a reboot can kill it.
Investigating this further I have noticed that NI-Max also hangs on statup.
XP error indicates "hungapp " error.

Yesterday I have uninstalled and reinstalled NI-DAQ lagacy and NI-DAQmx. It worked for a day but this morning I have the same issue I started with.

Is this a Windows XP issue related to some update or NI ?




0 Kudos
Message 1 of 2
(2,582 Views)
Hi Slawek,

I believe there may be a problem with some of the configuration files.  What version of the Traditional NI-DAQ and NI-DAQmx drivers are you installing?  What version of LabVIEW are you running?  Did you install any new software or change anything on your system recently to cause LabVIEW and MAX to hang?

Try the following suggestions to get MAX to work. 

  1. Close MAX and Terminate the NI Device Loader service (may be called nidevldu or nipxirmu on PXI controllers).
    • Go to Control Panel»Administrative Tools»Services - Right click NI Device Loader and select Stop

  2. Terminate any National Instruments Applications and processes.
    • Open up Task Manager and look primarily for the NIMAX.EXE, nipalsm, and nimxs processes. These are the most common tasks that will need to be terminated even after all the applications have been closed.

  3. Create and save a copy of the MAX data files and NIMAX.ini to a new folder.  Delete the files in the original Data folder and the NIMAX.ini file from the MAX directory - Warning: this step will delete all NI-DAQmx virtual channels and SCXI chasses - but it won't affect any of the traditional DAQ configuration.
    • Go to ..\National Instruments\MAX\Data\ and delete all of the files in this directory.
    • Go to ..\National Instruments\MAX\ and delete the NIMAX.ini file.

  4. Restart the computer which should restart nidevldu (nipxirmu) service from the services control panel.
    • This service can be restarted from the same place that it was stopped. Verify that all the files you deleted from the ..\MAX\Data folder are created again after restarting the service

  5. Restart MAX and see if this fixed the issue.
Let me know if this helps. 


Best Regards

Hani R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,563 Views)