LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Device Monitor Crash

Solved!
Go to solution

Hi,

I am facing a strange issue with NI Device monitor utility. NI MAX is frequently crashing upon opening and I am not able to detect any device in NI MAX and Not able to use CompactRIO target in the LabVIEW project.

 

I tried to reinstall everything including NI System monitoring to LabVIEW and device drivers using NI package manager but no help. I also updated the NI Device monitor utility in the NI package manager but doesn't solve the issue.

I also updated DirectX using Microsoft DirectX web utility but no help.

 

PFA, Screenshot. Any idea? NI device monitor app crash.PNGnoCapture.PNGlv crash.PNGni package.PNG

dxdiag.PNG

 

0 Kudos
Message 1 of 4
(2,439 Views)
  • What version(s) of LabVIEW are installed?  32-bit or 64-bit?
  • Does MAX run, and does it seem to show installed devices?  Does it show expected Software?
  • Have you done any LabVIEW installs or upgrades recently?
  • Have you tried to remove any LabVIEW components?
  • Could you say a bit more about the LabVIEW "history" of this PC?  [Such as how long ago were things running OK, and what might have been added or removed since that time.]  This should also include any Tools, Drivers, add-ons that you have recently installed.

It sounds (to me) that you might have a corrupt LabVIEW installation.  I've grown more cautious in pursuing LabVIEW installations and upgrades, as it is often easy to corrupt a LabVIEW installation by doing an upgrade or installation of a new version.

 

Bob Schor

0 Kudos
Message 2 of 4
(2,391 Views)

Hi Bob,

 

1. LabVIEW 2020 32bit version is installed. On my PC only this version is installed currently.

2. This issue occurred 2 days before, when I tried to launch NI MAX suddenly everything started crashing.

3. The NI MAX screenshot I posted is just after I repaired NI System Configuration from the NI Package manager. So, it opened but didn't show any software installed, and the Keeps showing "refreshing" as it kind of stuck in an unknown state.

I also tried the Reset Configuration in NI MAX assuming it will solve the issue but no help.

4. I did everything, right from uninstalling LABVIEW 2020 and all device drivers. Then after reinstalled everything but still the problem is not solved yet.

5. I checked on my other PC where NI Device Monitor 19.0 version is installed, it's running fine. 

 

Seems like, this problem is mainly because of the NI device monitor utility (v 20.5 installed now). because of it, I cannot add CRIO or any other target to my LV projects. If I try to add CRIO9054 which is currently connected to PC in LV project, LabVIEW crashed and shows MIL DLL error dialog and Access violation error.

I also saw these issue reported earlier to NI forum but going through the suggested solution, didn't really help.

0 Kudos
Message 3 of 4
(2,383 Views)
Solution
Accepted by topic author Voyager7277

Hi bob,

 

This issue is resolved now.. with a bit of web search I found that mill.dll file is missing from C:/Windows/System32 and /SysWOW64 folder.

After restoring it, NI MAX is working fine, and am able to add the CRIO device to my LV project and able to detect all the devices.

solution link - https://www.dllme.com/dll/files/mil_dll.html 

I hope this solution will help others if they stuck with the same error.

 

Don't know what update caused this file to get deleted. maybe because of any windows update.

Voyager7277_0-1617528300687.png

Voyager7277_1-1617528325647.png

 

 

0 Kudos
Message 4 of 4
(2,355 Views)