02-04-2012 10:31 AM
When running CVI full interface operator interface I receive the following error:
AppName: testexec.exe AppVer: 1.0.0.0 AppStamp:4f2c478b
ModName: cvirte.dll ModVer: 9.1.0.428 ModStamp:4b566705
fDebug: 0 Offset: 0012c87e
I have even rebuid the applicaiton and the crash still happens. Using LabWindows 8.5 (lower right corner displays 8.5.1 (356)) and TestStand 4.1.
Any suggestions to resolve the error?
Thanks
RK.
02-06-2012 10:50 AM
Hi sonotk,
Could you elaborate a little more on how you receive this error? Does the application run for a certain duraction before throwing this error? Could you provide a screen shot? Thanks.
02-06-2012 12:57 PM
This error is random. I am running CVI OI full feature and after selecting the sequence file the error sometime displays before the UUT Information dialog box is displayed and at times after the Result Dialog box. So it cannot be replicated on a consistent manner.
In addition noticed that in event manager the when this crash happens the .NET 2.0 reporting error is dispalyed.
Currently trying to remove the CVIRTE and reinstalling CVIRTE.
Thanks
02-06-2012 04:24 PM
Ok, can you tell me if any details are listed in the "Details" tab at the bottom when you click on one of the errors? How about the "General" tab?
02-07-2012 07:48 AM
I dont see any details and general tab options. Attach is the image. I am running WIN XP SP3
02-07-2012 10:24 AM
Is this occurring with a specific sequence file or any sequence file? Also, can you reproduce this using the operator interface that ships with TestStand (not the custom one) or in the TestStand development environment? Are you using the .NET adapter in your sequence?
There is also a Microsoft known issue with this event ID related to user accounts. I am not sure if this could be related or not, but it may be worthwhile to try it so that we can rule it out. Details are in the Microsoft KB here: http://support.microsoft.com/kb/913384
02-07-2012 12:22 PM - edited 02-07-2012 12:23 PM
On further inspection, the .NET error event may be a red herring, or a second bug. Let's look at the CVI crash first. The information provided so far looks like you may be hitting a bug in our run-time engine, but we do not have enough information to find which one. Could you create a crash dump and send it to us. Instructions for Windows XP copied below:
drwtsn32 -i
to install Dr. Watson as the default debugger.drwtsn32
:\Documents and Settings\All Users\Documents\DrWatson\user.dmp
The dump file may be too large, so you can upload it to ftp://ftp.ni.com/incoming and let me know the file name.
Addtionally, it is possible that if this is a bug, it may have been fixed in a later release of the CVI Run-Time Engine. I would recommend downloading and installing the latest version from CVI Run-Time Engine 2010 SP1. The CVI RTE is fully backwards compatible and will run your application. It could also be helpful if we then know if this is a bug that has been fixed or if we are dealing with a new bug.
02-07-2012 05:19 PM
Is there a major difference between CVIRTE2010 and CVIRTE2010 SP1?
02-07-2012 05:44 PM
The difference between a major release and a service pack release for CVI is the number and magnitude of the new features introduced. However, each release includes all of the bug fixes that were made since the previous release and is typically about equal for a major release and a service pack release. So in this case, there will not really be many new features, but it is fairly likely that there is a related bug fix.
02-07-2012 07:27 PM
So I installed CVIRTE 2010 and do not see the crash since. Then updated to CVIRTE 2010 SP1 - still no crash so that is good.
The only thing strange happening now is that if the Operator Interface is minimized it will not restore back. I changed the OtherAttributes under uir file to set to Floating Style from Never to Always but still the problem stays.
Found this forum post but what event can be used in MainPanelCallback function to check and then call the syntax to set the attribute to
SetPanelAttribute (mainUIPanelHandle, ATTR_MINIMIZE_OTHER_PANELS, 1);
My GUI does have multiple UIs.
In the MainPanelCallback function I currently have
switch(event)
{
case EVEN_CLOSE;
ExitApplication();
break;
}
Not sure if this is related to updating to cvirte 2010 SP1?
Using CVI 8.5.1 and TS 4.1 currently.