LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two Executables in Start bar

Hello everyone,
I have an executable that was created with Labview 8.2 application builder.  This program is located on a network drive and used by multiple users across the corporate network.  This program is only used for revision of data that has been collected in our R&D Lab.  I have had a couple complaints about the program not shutting down properly.  This behacior is not consistant, only happening once in awhile.  I notice that when the program executes two labview bars are displayed in the Windows Start Bar (XP Pro).  When the program is exited the farthest right bar closes but the left one still hangs around for a little while and on a few cases had to be closed through the task manager.  Does anyone know whay two applications are being displayed in the start bar and had any one experienced this behavior before.
 
Thank you,
Steven Marmillo
0 Kudos
Message 1 of 5
(3,067 Views)

Steve,

Does your vi use the "Quit LabView.vi" to close the application?

0 Kudos
Message 2 of 5
(3,058 Views)
For the two windows, add an entry in the ini file under [Application].

Application.ini contains:

[Application]
HideRootWindow=True

This will cause only one entry on the task bar to show up.  Replace
'Application' with the name of your .exe file (there should already
be an ini file in the proper form).

Matt
0 Kudos
Message 3 of 5
(3,050 Views)

Hello,

Thanks for the quick responses, I am using the Quit labview vi to exit the application.  I added the text to the .ini file and the second windows does dissapear.  The issue was with the second window not closing when the application was exited, so technically if the operator never sees the second window it is now a mute point.  Is there a possiblility that Labview will remain loaded in memory even if I am using the Quit Labview vi.

Again thanks for the advise.

Steve

0 Kudos
Message 4 of 5
(3,041 Views)

Steve,

The "Quit Labview.vi" should unload labview in pretty short order.  One thing I learned the hard way early on was to set up the vi so the users could not close the window.  Users kept using the X in the upper right corner to exit my programs.  Program stopped midstream and did not execute the quit labview on the way out.  Noticed it took a while for labview to finally exit when this happened.

I've never had to add the line to the .ini to prevent the second item on the task bar.  I'll have to look into that.

0 Kudos
Message 5 of 5
(3,019 Views)