‎08-07-2014 02:25 AM - edited ‎08-07-2014 02:29 AM
The problem is in "SELECT DEVICE" VI. In project it works well, but not working in EXE application.
‎08-07-2014 06:03 PM
Hello Dionis,
Are you receiving any errors in your program? Have you tried looking into wiring your error handling more diligently? I agree that this is a good place to start.
Best wishes!
‎08-07-2014 08:55 PM - edited ‎08-07-2014 08:59 PM
You have no error handling and auto-error handling is turned off when you make anexecutable. Slap on a simple error handler.vi to the end and rebuild the application.
[edit] additionally, for t-shooting purposes, put a shift register on the while loop on your error cluster so you don't miss anything. After t-shooting, add proper error handling as the last thing inside your loop and then you can get rid of the shift register. [/edit]
‎08-08-2014 01:33 AM - edited ‎08-08-2014 01:47 AM
@Bellissima wrote:
Hello @Dionis,
Are you receiving any errors in your program? Have you tried looking into wiring your error handling more diligently? I agree that this is a good place to start.
Best wishes!
Good day, Amanda!
In project it works fine. When we run project first we see a start-up VI then appear a pop-up window from subVI with choosing a device (SELECT DEVICE vi). After choosing and pressing OK button this window dissapear.
If we build EXE application from the project, and run EXE application than first we see a start-up VI then appear and lickety-split dissappear pop-up window from subVI (SELECT DEVICE vi) without choosing a device.
‎08-08-2014 07:51 AM - edited ‎08-08-2014 07:54 AM
PLEASE pay attention to the advice given you. You're next on the list of posters I'd like to poke in the eye. You've been given several good ideas on troubleshooting this issue, yet you continue to ignore them and just repeat your problem.
At least acknowledge that you tried some of the stuff above. I've even given you a pretty good roadmap on how to diagnose this thing. I'm not going to repeat it because you can just scroll up.
‎08-08-2014 08:12 AM
@billko wrote:
PLEASE pay attention to the advice given you. You're next on the list of posters I'd like to poke in the eye. You've been given several good ideas on troubleshooting this issue, yet you continue to ignore them and just repeat your problem.
At least acknowledge that you tried some of the stuff above. I've even given you a pretty good roadmap on how to diagnose this thing. I'm not going to repeat it because you can just scroll up.
Dear Billko, make shure that i saw all the advices and tried to solve my problem. But it seems to me i ask a very simple question. My question is about some important properties of building an EXE application from VI project. Because of the project runs in simulation well without any errors.
‎08-08-2014 09:08 AM
Thanks to all for support!
‎08-09-2014 03:02 PM
Ugh, you missed the biggest issue - automatic error handling is DISABLED when you build an executable so you have NO IDEA what is happening.
One thing I learned in troubleshooting systems. - NEVER take for granted that you have all the bases coverd. If you did, you wouldn't be troubleshooting - you'd be FIXING.