04-30-2015 02:43 AM
Hello,
I built application but after few hours this application crashed and I dont know the reason.
Because in development environment Labview I dont register any problems or errors. In attach file I send report of error. Please can you describe me where is the problem.
Thank you.
04-30-2015 04:31 AM - edited 04-30-2015 04:33 AM
You should do proper error check (you properly use the error wire everywhere in your VIs?) in your application, and report if it happens. Does your application also crash if you run it from the Dev. environment? You can also consider to show us your code so someone might pinpoint the problem.
edit: I see now, you write you do not have any problems in Dev environment, sorry, I am a bit tired 🙂
I think you can enable some debugging in the built options so you may get more descriptive error msgs? But lets wait for others, I am not familiar with debugging in built application...
05-04-2015 03:31 AM
Hi,
As you can see from the error message as well, you have an access violation. That means, your applications was trying to reach some resources that is not allowed or doesn't have the permission.
Could you please tell us more about what does your application do?
Do you use any 3rd part SW, ActiveX calls, dlls etc?
Do you have any firewall or antivirus that might block the activity of your application?
Best regards,
IR
05-04-2015 06:01 AM
Hi,
My application receive image from 4 thermal cameras and make measurement.
I use dlls e.g. for read data from camera using program eBUS (which is 3rd part SW).
I have switched off firewall but switched on antivirus.
05-04-2015 06:25 AM
Hi,
I would suggest you the following:
1. Disable antivirus and test the application
2. What is the protocol for comminication with your camera? Can you build just a simple example that is communicating with only one camera and replicate the issue?
Are there any updates for the driver that you use to communicate with thermal cameras?
Best regards,
IR
05-04-2015 08:28 AM
hi,
1. Ok, I will try it with disable antivirus. But this issue has appeared after random hours (1-8 hours). So it will take time thanit I check it.
2. I use ethernet for communication with camera. My older project was with only one camera and it works. But now I need connect more then one camera. So I implemented it but this issue has appeared. I need stable connection for four cameras therefore I need fix this issue.
05-04-2015 08:42 AM
Hi,
I would start first with disabling the antivirus. If the error still persists, please search if there is an upagrde for the driver you use with therma camera.
If you still have the same issue, please write here, we can think about other ways of narrowing down the issue.
I understand that you need stable connection with four cameras, in order to solve the problem first you need to indentify the core issue.
Another important element is to understand what are the actions that you make right before your application crashes? Maybe writing to a file that you don't have permission etc.
Did you check how much RAM memory is used while your application runs for an extended time?
Best regards,
IR
05-04-2015 10:02 AM
Hi,
thank you for your advice and patience with my issue.
My program continuously measures temperature and monitors if the temperature limit is not exceeded.I am writing to a file only when the camera is calibrated and when the limits were exceeded, but I did it also in old code that seamlessly work. What exactly is happening before the program crashes do not know because I do not watch the monitor for a few hours every second until it falls. But it should not happen nothing unusual because the cameras stare at a constant temperature.
I tried to let go with switched off antivirus and although it fell, but this time with a different issue in MemoryManager.cpp. Error is in attachments. I do not know if these two issues are related or if I have more issues in my program, because the program is not demanding on memory (CPU 25% RAM 300 MB).
Best regards,
Petr Vavra
05-04-2015 10:19 AM
Just a guess here.
Is the dll that you are using thread-safe? You can try configuring it to run in the UI thread only by right-clicking it and configuring the properties.
Cheers,
mcduff
05-08-2015 03:52 PM
Thank you mcdfuff
I think that your advice help me with access violation issue. But now I registred new issue in MemoryManager.cpp
This issue have been appeared after few hours and I dont know where is the problem.
Please have anyone any idea where can be problem?
Best regrets,
Petr Vavra