From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-25-2016 01:06 AM
I have a strange issue with my CVI application. After a certain, not constant time (mostly a day or so), the PC freezes completely when my application is running. Reviewing the system event logs, I can see lots of entries coming from CVI, sometimes 8times per second!
It mostly looks like the following:
The description for Event ID 0 from source CVI cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
[14:18:42.389] [FATAL] [GetLWMessage] [..\jsource\jn_msgs.c:672] Assertion failed: FALSE (Error in Message Handler: unknown message code #12689 received)
Although the system event log is set to a size of 20MB only and the fact that it's automatically overwriting (FIFO) itself, the PC seems not being able to deal with this high amount of queued entries.
I searched the internet but found absolutely no hint. I then searched through my code using find in files and finally only found the following sequence within the cvirte.dll when using "*.*" as file extension filter:
..\jsource\jn_msgs.c ConvertMsgText Error in Message Handler: unknown message code #%ld received GetLWMessage
Hence exactly what the system event log tells me. I wonder that there is some Java related stuff in a CVI runtime dll
Is this something known to someone, any idea how I can overcome this?
I already tried to run my application using WinXP SP3 compatibility mode but this didn't help.
I will try to further narrow down the issue. I will also try to recompile my application using CVI2015
The application does not crash in general. There are different configurations of my tool where it runs lots of days. I therefore have to identify the exact circumstances. Also there is no memory leak, hence RAM consumption does not increase unnecessarily during runtime.
Any help highly appreciated
Thanx and regards
Solved! Go to Solution.
05-25-2016 04:15 PM
Hi IEE_newsoft,
In order to better assist you, I have some follow-up questions for you;
For your reference, that version of LabWindows/CVI is not officially supported in Windows 7:
LabWindows/CVI for Windows Vista/XP/2000, Version 9.0.1
Supported Operating Systems for LabWindows™/CVI
http://digital.ni.com/public.nsf/allkb/3FA3982EBA12B3D286256896005FAA39
Regards,
Kyle S.
Applications Engineer
National Instruments
05-30-2016 12:55 AM
Hi Kyle,
thanx for your reply!
In the meantime I managed to solve the issue. Checking date and version of the runtime dlls on the target PCs, I found out that they differed from the runtime dlls that have been installed with my application using the distribution kit. After reinstalling the application there were no new event log error entries anymore, hence this solved the issue 🙂
I only wonder from where these dlls came from...
Thanx and regards
Manfred