04-03-2021 05:52 AM - edited 04-03-2021 05:58 AM
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? no
Solved! Go to Solution.
04-03-2021 01:48 PM
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
04-03-2021 02:04 PM - edited 04-03-2021 02:09 PM
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.
04-04-2021 04:27 AM - edited 04-04-2021 04:33 AM
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.