06-27-2011 05:13 AM
Hello,
I have developed a application which communicates with a remote device. The connection between the PC and the device is an ethernet connection, using a telnet session.
The application is used to write files from the PC to the device. Before the device can receive the file the device must be in a special mode. The sequence that is used in the application is as follows:
- push button to select upload mode in the device (After this is done the device must be restarted)
- Wait till device is restarted again.
- Push button to verify if the device is in upload mode
- write file to device.
During development (I have used Labview professional 2010) the above described sequence works correctly. But I also have build a application and a installer. When I run the build application the application crashes after the verification of the device. (I receive a APPCRASH failure) The crash results in closing my program.
When I restart the application (device is still in upload mode) I push the button to verify the mode of the device and the application works correct and I can upload a file.
Searching the forum I have found some other examples of an APPCRASH but turning off the tablet function did not give a correct result. The application still crashed.
Can somebody help me with this problem? Thanks in advance.
07-29-2011 05:33 AM
Dear Teun,
I'm sorry for the late response and the problems you are having with your exe. Can you check if Data Execution Prevention is activated by doing the following:
The errors and crashes should stop occurring once an exception is made for your application or you choose to use DEP for only essential Windows programs and services.
Best regards,
09-05-2011 08:23 AM
Dear Martijn,
I'm also sorry for not replying earlier, but I have checked your suggestion.
DEP is activated for essential Windows programs and services only.
The application still crashes.
Best regards,
Teun
09-06-2011 12:54 AM
Dear Teun,
To help you further can you please provide me with the following information;
-can you temporary disable the firewall / virusscanner?
-can you try the executable on another system? If another system doesn't work as well, can you please post the source VI? (if the VI is to big; please reduce it to only the problem it self, functionality doesn't matter; we only want to have the crash)
-Is there a windows or a Labview error log available after the APPCRASH? Please post if available
Best regards,
09-06-2011 02:13 AM - edited 09-06-2011 02:14 AM
Dear Martijn,
- Firewall and virusscanner are disabled
- three other systems tested
- windows log file send with PM.
- I hope I can send you the VI later
Best Regards,
Teun
09-16-2011 04:34 AM
Hi Teun,
I assume the other three systems didn't work as well. Can you post the VI?
Best regards,