LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error Microsoft Visual C++ Runtime Library

I am getting random Header: (Microsoft Visual C++ Runtime Library) Runtime Error!   Program:...\Monitoring DV\H3000_Cont.exe     This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. When I click OK the program shuts down but I am able to start the executable right back up and start running again. I currently have up to 24 PC's (Windows XP Professional Ver. 5.1.2600 Service Pack 3 Build 2600) running this type of CVI (9.0) monitoring software. I have had 20+ shutdowns anywhere from a few hours of run time to hundreds of hours.

0 Kudos
Message 1 of 4
(4,029 Views)

Hi AVLB,

 

Are your Application Exits happening at the same time of day? Is there something that you can think of that happens at the same time as the crashes? A specific method that may be run? Is it an option to speed up a test and cause the crash more often so that you can pinpoint the cause?
Is there a number associated with the error? Could you send a screen shot or the error.

 

Regards,

 

Michael M

NI Americas | AE

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

Hi Michael,

Thank you for looking into this. No they are not at the same time of day. My software is very repetitive about every 6 sec. I take / store all my data with an outer loop that runs around every two hours. It seems to be very random. No number associated with the error.

 

Allen 

0 Kudos
Message 3 of 4
(3,984 Views)

HI AVLB,

 

Are you running out of memory? Can you use Task Manager to check the memory usage at a half hour, hour … mark? Is there a chance of a memory leak? Are you expecting your program be growing/shrinking in regards to memory usage?
Do you have any divide by zero possibilities? Or pointer arithmetic?

When you say it happens anywhere from a “few”hours, does this mean it’s happened before the 2 hour outer loop has had a chance to execute?
Can you run in debug mode? You can download a trial version of CVI and see if you get any additional information from debug.

Any virus scans or nightly scans going on, have you asked IT?

 

-Michael

0 Kudos
Message 4 of 4
(3,957 Views)