07-31-2014 02:47 AM - edited 07-31-2014 02:59 AM
Good day to all!
I have get a problem with pop-up window from subVI after build EXE application from VI.
In project it works fine. First we see a start-up VI then appear a pop-up window from subVI with choosing a device. 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 without choosing a device.
07-31-2014 04:25 AM
07-31-2014 08:37 AM - edited 07-31-2014 08:40 AM
I'm guessing you have some sort of error in the the pop-up (like an init error on one of your devices) and so avoids whatever condition you have set to make it stay open and you don't have the error out wired anywhere but you don't know this because building an executable disables automatic error handling.
[edit] In case anyone is wondering, I borrowed Jeff's magic 8-ball, but I'm not quite sure if I'm using it correctly. [/edit]
07-31-2014 10:05 AM
@billko wrote:
I'm guessing you have some sort of error in the the pop-up (like an init error on one of your devices) and so avoids whatever condition you have set to make it stay open and you don't have the error out wired anywhere but you don't know this because building an executable disables automatic error handling.
[edit] In case anyone is wondering, I borrowed Jeff's magic 8-ball, but I'm not quite sure if I'm using it correctly. [/edit]
Seems to be working well for you. The OP must not be using a standard built in prompt. The Xvi wouldn't open if there was an error in and the 1-2-3 button dialogs don't care about error in.
A safe bet that the OP has the vi-proprties set to open when called close afterwards and added standard error functionality.
Another case for handeling those darned properties inside the sub.vi like so.
08-01-2014 02:20 AM
Thanks to all for support!
Added an application VI.
08-05-2014 04:52 AM
There is no solution yet.
08-05-2014 06:52 AM
You should probably zip up your project, or at least include the main VI and the subVI that is causing you the trouble. We can't help you troubleshoot what we can't see. 😉
08-05-2014 09:07 AM - edited 08-05-2014 09:10 AM
You should probably zip up your project, or at least include the main VI and the subVI that is causing you the trouble. We can't help you troubleshoot what we can't see.
You 'll find .zip file of project.
08-05-2014 09:32 AM
@Dionis wrote:
You should probably zip up your project, or at least include the main VI and the subVI that is causing you the trouble. We can't help you troubleshoot what we can't see.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.You 'll find .zip file of project.
Thats what we can see
You zipped the *lvproj file. Thats really only a xml file that contains the information about where to find the files you want us to look at.
Which means I know you have a richo cx1 camera. But I don't have the dll or <instrlib>/Sensr - CX1/Device Name Dialog.vi"
08-06-2014 12:55 AM
You are right!
Also added a device library.