LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scrollbars in build executable

Hello ,

I would like to be able to get rid of the frontpanel scrollbars in an
LabVIEW builded executable .
It is easy to disable them while the build executable is running ,
but when the executable isn't running I allways get these scrollbars back
again.

Is it some setting in the application builder or a setting in the ini-file
of the build executable ??
I use LabVIEW 6.1 on an windows2000 environment if that matters .
Any help will be appreciated .


René Ramekers
Océ-Technolgies B.V.
The Netherlands
0 Kudos
Message 1 of 5
(3,180 Views)
René,

Normally, when an executable is finished it terminates and the application
is closed (including the front panel). There is no way to get rid of the
bars when the vi is done running.

Regards,

Wiebe.

www.carya.nl


"René Ramekers" wrote in message
news:1076064401.187@news-ext.oce.nl...
> Hello ,
>
> I would like to be able to get rid of the frontpanel scrollbars in an
> LabVIEW builded executable .
> It is easy to disable them while the build executable is running ,
> but when the executable isn't running I allways get these scrollbars back
> again.
>
> Is it some setting in the application builder or a setting in the ini-file
> of the build executable ??
> I use LabVIEW 6.1 on an windows2000 environment if that matters .
> Any help will be ap
preciated .
>
>
> René Ramekers
> Océ-Technolgies B.V.
> The Netherlands
>
>
0 Kudos
Message 2 of 5
(3,180 Views)
I know this isn't the solution you're looking for, but I don't know how to
do it directly.

I suggest letting your vi run continuously until you are ready to explicitly
exit. After your vi runs once, you could let it go idle until you are ready
to run it again. Use a start button in an event structure to awaken the vi.
To exit, use an exit button or a menu item to initiate a call to Quit
LabVIEW when you are in the run-time environment.

"René Ramekers" wrote in message
news:1076064401.187@news-ext.oce.nl...
> Hello ,
>
> I would like to be able to get rid of the frontpanel scrollbars in an
> LabVIEW builded executable .
> It is easy to disable them while the build executable is running ,
> but when the executable isn't running I allways get these scrollbars
back
> again.
>
0 Kudos
Message 3 of 5
(3,180 Views)
You should let the executable application Exit (close the window like other window applications). To do so, open a vi reference, and wire False to the fp.open property and then close the reference. This step should be done at the very last step / sequence. Also, you want to put it in a case so it does not exit during the development.

If you move all the indicators / controls into the viewable area of your frontpanel then the scroll bar is still visible but will be disabled.

-Joe
0 Kudos
Message 4 of 5
(3,179 Views)
Hello René,

Thank you for contacting National Instruments.

As Weibe has answered, there is no way to disable the front panel scroll bars after the VI has finished running. To prevent users from altering the VI, you can set the front panel to close upon completion. You can do this by including a �Quit LabVIEW� function from Functions >> Application Control. You should wire the stop button from your while loop to the �Quit LabVIEW� function to have the front panel close at the end of execution.

If you are calling your VI from another VI, you can set the front panel to close from VI Properties. Select File >> VI Properties then select Window Appearance from the pull down category menu. Press the customize button and select the Show Front Panel when Called a
nd Close Afterwards if Originally Closed boxes.

I hope this helps,

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,179 Views)