LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.exe popup problem

hi !

i have such problem :

On start up - my program runs a popup subvi window for setting up some
things.
When I run program in LabView I do not have any problems.

But when I make an application (.exe file), the program crashes when the
popup window is called.

What could be the problem ?
I have this for the first time.
I've made once an application that used such popup windows and everything
was ok.

I tried change almost everything in vi properities details as well as in
properties
of file in application builder.

-jcz-
0 Kudos
Message 1 of 8
(3,349 Views)
Hi jcz,

please check your App-Builder settings under "vi stettings". The "Remove Panel" of your Splash-Screen VI has to be set to "No".

If that dosn't help:
can you please upload your vi and the builder-script?

greetings
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 2 of 8
(3,349 Views)
"chrisger" wrote in message
news:506500000005000000AABA0100-1079395200000@exchange.ni.com...
> Hi jcz,
>
> please check your App-Builder settings under "vi stettings". The
> "Remove Panel" of your Splash-Screen VI has to be set to "No".
>
> If that dosn't help:
> can you please upload your vi and the builder-script?

it didnt help.
i've discovered that program crashes when the my Splash-Screen vi
(rs232_init.vi)
is on the top. I mean, when window of the first VI covers Splash-Screen
then it's ok. but when i move first VI's windows to see Splash-Scren, then
i recieve message :

file.exe has generated errors and will be closed by Windows.
You will need to restart the program.
An error log is being created.

i attach files.

-jcz-



[Att
achment test.vi, see below]


[Attachment rs232_init.vi, see below]
Download All
0 Kudos
Message 3 of 8
(3,349 Views)
hi jcz

i'm sorry, your vis worked just fine on my machine. hmmm.. try to set the rs232_init.vi window appearance as "dialog" and disable "allow user to close window". maybe it helps.

whats the content of the generated error log?

greetings
chrisger
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 4 of 8
(3,349 Views)
I see that you use LabVIEW 6.0. There is a bug in LabVIEW 6.0 executables that makes them crash when they attempt to display a VISA refnum. Upgrade to at least LabVIEW 6.0.2 to correct this (or avoid to display a VISA refnum).


LabVIEW, C'est LabVIEW

Message 5 of 8
(3,349 Views)
"chrisger" wrote in message
news:506500000005000000F4BA0100-1079395200000@exchange.ni.com...
> hi jcz
>
> i'm sorry, your vis worked just fine on my machine. hmmm.. try to set
> the rs232_init.vi window appearance as "dialog" and disable "allow
> user to close window". maybe it helps.

nope.i tried all those things. the problem seems to be in sth else.
it occures only when I have a CONTROL of Visa Resource Name.
I don't understant it completly. It must be some error in this builder
(Labview 6.1). It seems I have to resign from such pop-up windows 😞
It crashes even if I made an apllication as a separate file - not a pop-up.

> whats the content of the generated error log?

don't know. i cant find the log file 🙂

thx for help
-jcz
-
0 Kudos
Message 6 of 8
(3,349 Views)
JCZ,

There is the same discussion in a different thread. See if this offers you more insight

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000AB920000&ECategory=LabVIEW.LabVIEW+General

In this thread they are saying to upgrade to 6.0.2 and it contains a link to the upgrade. They are also saying to hide the visa resource name control and you will be in good shape. Let me know if there is any more info. you need.

Allan S.
Applications Engineering
National Instruments
0 Kudos
Message 7 of 8
(3,349 Views)
"NIBOUND" wrote in message
news:50650000000500000009BB0100-1079395200000@exchange.ni.com...
> JCZ,
>
> In this thread they are saying to upgrade to 6.0.2 and it contains a
> link to the upgrade. They are also saying to hide the visa resource
> name control and you will be in good shape. Let me know if there is
> any more info. you need.

thx Allan. Upgrade solved the problem. I've already made .ini files and
using
them instead of setup window on the beginning, but at least I know what
to do when such problem occure.

Jakub
-jcz-
0 Kudos
Message 8 of 8
(3,349 Views)