LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> Frontpanel Tool

Screenshot
File Information
File Name Frontpanel Tool by i2dx
Submitted Oct 25 2006, 10:54 AM
Last Updated Oct 26 2006, 07:26 AM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 519.27K (Estimated Download Times)
Views 3056
Downloads 239
Add Rating
IBB Frontpanel Tool V 2.0.4
Copyright © 2006, Christian Berger
All rights reserved.

Author:
Christian Berger
christian.berger@ib-berger.com
http://www.ib-berger.com/

Description
1. What is this tool good for?
This tool was made to set front panel properties in LabVIEW 8.20 programmatically. You can define in a text-comment how the front panel should look like, place this comment in the block-diagram and let the tool do the rest

2. Why was this tool made?
I have created this tool, for one main reason:
Sometimes it's annoying to debug running code, if you have dialogs with the FP properties "open when called" and "modal" set. With this tool you can define, how the FP should look like at runtime, e.g. in your compiled release, and work with the default VI front panel appearance during the development.

3. How to install and use this tool?
just drop the ibbfptool.llb into your \project directory, restart LabVIEW and use the "Frontpanel Tool" entry from the "tools" palette.

4. How is this working?
just create a text comment on the block-diagram which must have the following format:

First Line: WINDOW APPEARANCE
n++ Line(s):
SetPanes2Zero={TRUE | FALSE} - Set Origin of all Panes to 0:0?
TitleBarVisible={TRUE | FALSE} - Window has title bar?
MenuBar={TRUE | FALSE} - Show menu bar?
vScrollBar={TRUE | FALSE} - Show vertical scroll bar?
hScrollBar={TRUE | FALSE} - Show horizontal scroll bar?
ToolBar={TRUE | FALSE} - Show toolbar when running?
AbortBtn={TRUE | FALSE} - Show Abort button?
RunBtn={TRUE | FALSE} - Show Run button?
ContRunBtn={TRUE | FALSE} - Show Run Continuously button?
ShowWhenCalled={TRUE | FALSE} - Show front panel when called?
CloseAfterCall={TRUE | FALSE} - Close afterwards if originally closed?
ShowWhenLoaded={TRUE | FALSE} - Show front panel when loaded?
Behaviour={1..4} - Window behaviour: 1=default, 2=floating 3=floating & auto hide, 4=modal
RunTransparently={TRUE | FALSE} - Window runs transparently?
transparency={0..100} - Transparency: from 0 to 100 [maybe no good idea?]
Closeable={TRUE | FALSE} - Allow user to close window?
Resizeable={TRUE | FALSE} - Allow user to resize window?
Minimizeable={TRUE | FALSE} - Allow user to minimize window?
RunTimeShortCutMenus={TRUE | FALSE} - Allow default run-time shortcut menus?
HiliteReturnButton={TRUE | FALSE} - Highlight Boolean

for example:
WINDOW APPEARANCE
SetPanes2Zero=TRUE
TitleBarVisible=TRUE
MenuBar=TRUE
vScrollBar=FALSE
hScrollBar=FALSE
ToolBar=FALSE
which would set the properties, when you run the tool.
The Properties NOT mentioned in the text are set to DEFAULT Properties!

5. create (own) Shortcuts and modify the code
This tool has already built in 2 Shortcuts:
WINDOW APPEARANCE
DIALOG
which sets the FP Appearance to LV Dialog default

and
WINDOW APPEARANCE
STANDARD
which sets the FP Appearance to LV default

You can create your own shortcuts, if you want/need to:
Open the VI IBBTools_Search FP Behaviour Desc.vi and add a case after "DIALOG" and set the properties according to your needs.

6. how do I use that tool?
Run the tool from the Tools palette, select the TOP LEVEL VI and choose "set" or "unset", the tool will go down the COMPLETE VI HIERARCHY and set the FP Properties for every VI, where it can find a valid "WINDOW APPEARANCE" comment.

Use the "set" / "unset" checkbox to choose whether to SET the Properties as described in the comment or UNSET the properties, which means, that the Window appearance is set to LabVIEW default Window Appearance.

There are 2 example VIs (testVI.vi and 2ndtestVI.vi) where you can check this out!

License:
this software is published under the terms of the GPL.
Other Information
Support Topic Click here to visit support topic
File Version 2.0.5
LabVIEW Version 8.2.x
License GNU Public License
Operations
Approved by Michael_Aivaliotis on Oct 26 2006, 03:12 AM
Download File

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
7 user(s) active in the past 15 minutes
Active Users 7 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats We have a total of 68 files in 13 categories
A total of 37 unique authors have submitted to our site
There have been 23197 logged downloads to date
The latest file submitted was Waveform Xcontrol.zip by Gavin Burnell (submitted Sep 18 2008, 11:21 AM)


Time is now: 7th October 2008 - 12:47 AM