User Interface
Any code that enhances or manipulates the the front panel UI. Custom controls, Xcontrols, property nodes and references.
34 files
-
55 easily distinguishable color.vi
By Benoit
This is the only way I found how to have a bunch of color that are unique and easily distinguishable. The maximum I saw in the web was about 26. This one offer 55 of them without gray tone. You can modify this VI to support gray tone as well and goes up to 60 colors.
331 downloads
- distinguishable
- color
- (and 2 more)
Updated
-
CLL Dialog
By Lars-Göran
Copyright © 2006
All rights reserved.
Author:
Lars-Göran Andersson
--see readme file for contact information
Description:
This library gives similar functionality as Three Button Dialog.vi but with some extra goodies.
It doesn't strictly conform to the guidlines for a dialog box, instead it shows my personal preferences.
CLL (Common LabVIEW Library) is my way of tagging VIs that have made it into my library of reusable code.
Version History:
1.0.0:
Initial release of the code
1.0.1:
Added version info to the description of CLL Dialog.vi
Changed some default values for TEST CLL Dialog.vi
929 downloads
Submitted
-
Find Text
By John Lokanis
Find Text v1.0.0
Copyright © 2009, John Lokanis
All rights reserved.
Author: John Lokanis
LAVA Name: jlokanis
Contact Info: Contact via PM on www.lavag.org
LabVIEW Versions:
Created and tested with LabVIEW 8.6.1
Dependencies:
None.
Description:
This project contains the Find Text.vi and supporting subvis.
The Find Text.vi displays a dialog allowing the user to search a text display for a specified string.
A reference to the string control must be passed in.
When the string is found, the calling VI will become front-most so the string can be highlighted.
If the string is not found, an error message is displayed.
Searching starts from the cursor location in the text control.
You can change the search direction using the radial buttons.
The VI will remember previous search strings inside the combo box where you enter the text to find.
If you pass in a caller reference, this will be used to center the dialog. Otherwise, the VI will attempt to find it's caller in the call chain and center on that. If you call this VI dynamically, it will center itself on the primary monitor if the caller reference is not passed in.
Instructions:
Open the 'Example - Find Text.vi' and run it. Select the Find menu function or press Crtl-F to open the Find Text dialog.
Known Issues:
None
Acknowledgements:
None
Change Log:
v1.0.0: Initial release of the code.
License:
Distributed under the Creative Commons Attribution 3.0 (http://creativecommons.org/about/licenses)
See link for a full description of the license.
Support:
If you have any problems with this code or want to suggest features:
please go to www.lavag.org and Navigate to
LAVA > Resources > Code Repository (Certified) and
search for the "[CR]NI Web Service Server" support page.
Distribution:
This code was downloaded from the LAVA Code Repository found at www.lavag.org
960 downloads
Submitted
-
Flatline Controls
By drjdpowell
A set of custom controls, following the trend of a more flat UI design. Heavily influenced by Google’s Material Design, though constrained by what can be done with available tools and options in LabVIEW. Uses icons from Google Material Design.
— Buttons based on the system booleans (with hover effects). Icons can be added as decals (such as from materialdesignicons.com)
— Matched sets of controls for numeric/string/enum/etc., based on Silver controls, but swapping out all ‘chrome’ for simple boxes and lines.
— flattened versions of switches/sliders/arrays/graphs etc.
Now on the LabVIEW Tools Network
JDP Science Tools group on NI.com.
1,785 downloads
Updated
-
Get Data From Clipboard
By Karissap
Copyright © 2007, Karissa Purcell
All rights reserved.
Author:
Karissa Purcell
--see readme file for contact information
Description:
This collection of VIs uses the Win32 API and Labview Methods to access the clipboard.
GetClipboardData.vi retrieves image, text or a file/folder selection and puts the data into a corresponding control.
Dependancies:
Labview 8.0.x or higher
Windows operating system (tested with XP)
Uses user32.dll, Kernel32.dll and shell32.dll (usually found in C:\windows\system32 folder)
Change Log:
1.0.1: Fixed Commenting.
1.0.0: Initial release of the code.
1,956 downloads
Submitted
-
Get Reference To All Controls
Copyright © 2007, GTech Automation
All rights reserved.
Author:
Dave A. Graybeal
--see readme text for contact information
Instructions:
This code has been tested to run under LabVIEW 8.2.1. Unzip the code into any folder of your choice and open the example called, GetRefExample.vi. This shows how to use the 'Get Reference To All Controls.vi' as well as the 'Get Control Reference by Name.vi' to obtain a reference to all controls and how to search thru those reference to obtain the reference you want.
Features:
Get Reference to All Controls.vi
-Gets the references and labels to All the controls on the front panel of the calling VI.
-Is Able to search thru all Tab Controls recursively to compile a complete list of Controls from the front panel.
Get Control Reference by Name.vi
-Polymorphic VI that allows for searching list for single reference or an array of references.
-Gets a Specific Reference from the List of All Controls by Control Name(Label).
Get Control References By Match Pattern.vi
-Gets an Array of References for all Controls containing the regular expression in the label.
Change Log:
1.0.0: Initial release of the code.
1.1.0: Changed the Class ID of a Tab Control from a constant to a Property Node (To support Future LabVIEW Releases)
1.2.0: Added Get Control References By Match Pattern.vi (Authored By: Justin Goeres) Thanks!
Modified GetRefExample to Include the Get Control References By Match Pattern.vi
Improved some performace by removing unnecessary Items from Loops (Thanks JFM!)
Removed all Dialog boxes from VI's and replaced them with proper error output messages.
Added shift registers where necessary to ensure proper error is passed out of each VI.
Recompiled under LabVIEW 8.2.1.
2,930 downloads
Submitted
-
JKI Please Wait Dialog
Copyright © 2006, James Kring, Inc.
All rights reserved.
Author:
Michael Aivaliotis
Instructions:
This code has been tested to run under LabVIEW 7.1.1. It will probably work on any newer versions but it has not been tested. Just unzip the code into any folder of your chosing and open the example called, JKI pwd Example.vi. This shows a typical use case where you want to pop-up a non-blocking dialog and display a message and updated text from a parallel running task.
Features:
- Can specify a limited preset amount of progress images via the "animation" selector
- Can update the status message in real-time after the dialog has been launched.
- Setting an animation value of 0 disables animation and displays only text.
- Handles being built into an application
- The dialog is not modal when run in the development environment however it becomes modal when built into an executable.
Version History:
1.0.2:
Renamed VI prefix from MNA to JKI.
Added more documentation to diagram and VI descriptions.
1.0.1:
Fixed bug where dialog was not centering on screen.
Changed dialog behaviour so it updates position on screen before the front panel is open.
1.0.0:
Initial release of the code.
1,940 downloads
Submitted
-
JKI Progress Bar Dialog
Copyright © 2006, James Kring, Inc.
All rights reserved.
Author:
Michael Aivaliotis
Instructions:
This code has been tested to run under LabVIEW 7.1.1. It will probably work on any newer versions but it has not been tested. Just unzip the code into any folder of your chosing and open the example called, JKI PBD Example.vi. This shows a typical use case where you want to pop-up a non-blocking dialog within a process loop and display a message and updated text from a parallel running task. In addition, you can pass a max value and updated progress value and the dialog will automatically present a percentage complete progress bar.
Features:
- Contains an abort button on the dialog that can assist in aborting a running process.
- You only need to pass the total number of tasks\items and the dialog automatically calculates percent complete.
- Can specify a limited preset amount of progress images via the "animation" selector
- Can update the status messages and progress in real-time after the dialog has been launched.
- Setting an animation value of 0 disables animation and displays only text.
- Handles being built into an application
- The dialog is not modal when run in the development environment however it becomes modal when built into an executable.
Version History:
1.0.0:
Initial release of the code.
2,123 downloads
Updated
-
LCD panel.ctl, LCD panel.vi
By tylertroy
I've been playing around with making some controls that mimic popular electronic components and here is one of them. It's a basic 10 x 2 character LCD panel. You can play with the colors to create a variety looks. You could also imagine modifications to create animated LCD panels. Feel free to incorporate into what ever you're creating.
901 downloads
Submitted
-
LCD1.ctl, LCD2.ctl, LCD3.ctl
By tylertroy
Here are a couple of controls that simulate an LCD numerical display. You will need to install the fonts for them to work as pictured. You can achieve the same things with which ever font you like but it really only works with mono-spaced fonts.
You can customize each control in the "Advanced" right click menu of the control to set the precision you need or to modify the font size. Note that you can't change the font size without customizing the "background" label font too. Accessing and modifying each component is most easily achieved by changing the z-order of the components using the Ctrl-K, Ctrl+J shortcuts while in tweezer mode
1,888 downloads
Submitted
-
Picture Hacks
By AdamRofer
Copyright © 2006, Adam Rofer
All rights reserved.
Author:
Adam Rofer
--see readme file for contact information
Description:
A couple of Picture datatype hacks to illustrate the structure of the (LV 6.1 - LV 7+ is untested) picture control.
-- Main VIs --
Example - Show How Picture Is Made.vi:
Main example, shows (incrementally) how a specific picture is generated by displaying the picture with each packet
incrementally added. Good way to see how your own pictures display information.
Opcodes.csv:
Comma-delimited file explicitly describing the packet types and their requirements / uses.
Tool - Picture concat.vi:
Given two pictures, concatenates the data to create a single overlapped picture.
Tool - Packets to Picture.vi:
Given an array of picture packets (cluster), generates a picture.
Tool - Picture to Packets.vi:
Given a picture, generates an array of picture packets.
-- Utility subVIs --
sub - 8-Bit string to 32-Bit number.vi:
utility VI to cast a string to a 32-bit number. Typecast might work instead but this is more explicit.
sub - Find Opcode:
Given a picture data string that has the size header removed, this will extract an opcode from the front.
sub - Strip top of and check picture.vi:
Utility VI to strip the header (size) from a picture data string so that it can be scanned for packets.
Change Log:
1.0.1: (11/13/06)
Cleaned up code for LAVA requirements:
- Renamed VIs for clarification of purpose
- Fixed coercion dots
- Added 0ms delays in all loops
- Added error encapsulation in some subvis
- Replaced local variable for cluster to constant in order to limit thread swapping between the user interface and code threads
1.0.0: (11/07/06)
Cleaned up code from 6i 2001 version for submission.
1,397 downloads
Submitted
-
Shortcut Menu from Cluster
By drjdpowell
A pair of subVIs for connecting a cluster of enums and booleans to a set of options in a menu (either the right-click shortcut menu on control or the VI menu bar). Adding new menu options requires only dropping a new boolean or enum in the cluster.
See original conversation here.
I use this heavily in User Interfaces, with display options being accessed via the shortcut menus of graphs, tables, and listboxes, rather than being independent controls on the Front Panel.
Relies on the OpenG LabVIEW Data Library.
772 downloads
Updated
-
String AutoComplete
By sam
Copyright © 2006, Sam Behashtei
All rights reserved.
Author:
Sam Behashtei
--see readme file for contact information
Description::
In most modern application, in web based application, the user input Textbox, or (String-Control) have the ability to Auto-Complete the words being typed. This utility helps the programmer give the Auto-Complete behavior to a LabVIEW String.
Version History:
1.0.1:
The mechanism to store suggestion list has been changed.
1.0.0:
Initial release of the code.
2,116 downloads
Updated
-
System Button - Small LV2009
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 200 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
please read readme.txt
Enjoy with the library
Regards
Prabhakant Patil
4,328 downloads
Updated
-
System Button - Transperant Blue Theme (Medium) LV2009
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 500 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
Please read readme.txt
Enjoy with the library
Regards
Prabhakant Patil
5,103 downloads
Updated
-
System Button - Transperant Gray Theme (Big) LV2009
Hi All
Enjoy with the Big Transparent icon style button.
if any suggestion then please let me know
Labview Version - Labview 2009 or above
Please read readme.txt
Prabhakant Patil
8,890 downloads
Updated
-
System Button - Transperant Gray Theme (Medium) LV2009
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 500 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
Please read readme.txt
Enjoy with the library
Regards
Prabhakant Patil
4,915 downloads
Updated
-
System Button - Transperant Green Theme (Medium) LV2009
Description
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 500 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
Please read readme.txt
Enjoy with the library
Regards
Prabhakant Patil
5,080 downloads
Updated
-
System Button - Transperant Red Theme (Medium) LV2010
System Button - Transparent Red Theme (Medium) v1.0.0
Copyright © 2011, Prabhakant Patil
All rights reserved.
Author: Prabhakant Patil
LAVA Name: Prabhakant Patil
Contact Info: Contact via PM on lavag.org
LabVIEW Versions:
LabVIEW 2009
Dependencies:
NO
Description:
This Library contain, more than 500 controls, buttons. The Icon uesd in the library are free, but you can not redistribute it.
License - General Public License: http://www.gnu.org/copyleft/gpl.html
Installation and instructions:
Extarct This Library and coppy it into User library folder
Examples:
It is Button Library
Version History:
v1.0.0: Initial release of the code.
License:
License - General Public License: http://www.gnu.org/copyleft/gpl.html
Distributed under License - General Public License: http://www.gnu.org/copyleft/gpl.html
See link for a full description of the license.
Support:
If you have any problems with this code or want to suggest features:
please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and
search for the "System Button - Transperant Red Theme (Medium)" support page.
Distribution:
This code was downloaded from the LAVA Code Repository found at lavag.org
5,340 downloads
Updated
-
System Button - Transperant White Theme (Medium) LV2009
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 500 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
please readme.txt
Enjoy with the library
Regards
Prabhakant Patil
9,616 downloads
Updated
-
System Button - Vista Blue Theme LV2009
Description
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 200 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
please read readme.txt
Enjoy with the library
Regards
Prabhakant Patil
4,206 downloads
Updated
-
System Button - Vista Theme (Small) LV2010
System Button - Vista Theme Small v1.0.0
Copyright © 2009, Prabhakant Patil
All rights reserved.
Author: Prabhakant Patil
LAVA Name: Prabhakant Patil
Contact Info: Contact via PM on lavag.org
LabVIEW Versions:
LabVIEW 2010
Description:
This Library contain, more than 500 controls, buttons. The Icon uesd in the library are free, but you can not redistribute it.
License - General Public License: http://www.gnu.org/copyleft/gpl.html
Installation and instructions:
Extarct This Library and coppy it into User library folder
Examples:
It is Button Library
Version History:
v1.0.0: Initial release of the code.
License:
License - General Public License: http://www.gnu.org/copyleft/gpl.html
Distributed under License - General Public License: http://www.gnu.org/copyleft/gpl.html
See link for a full description of the license.
Support:
If you have any problems with this code or want to suggest features:
please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and
search for the "System Button - Vista Theme Small" support page.
Distribution:
This code was downloaded from the LAVA Code Repository found at lavag.org
4,704 downloads
Updated
-
System Button - XP Theme (Small) LV2009
Description
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 200 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
please read readme.txt
Enjoy with the library
Regards
Prabhakant Patil
3,650 downloads
Updated
-
System Buttons - Outlook Theme LV2009
System Buttons - Outlook Theme
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 500 controls, buttons. The Icon uesd in the library are free, but you can not redistribute it.
Please read readme.txt
License - General Public License: http://www.gnu.org/copyleft/gpl.html
Enjoy with the library
Regards
Prabhakant Patil
5,409 downloads
Updated
-
System Buttons - Vista Theme LV2009
System Buttons - Vista Theme
Author - Prabhakant Patil
Contact - prabhakantpatil@gmail.com
Labview Version - Tested with labview 2009
Description - This Library contain, more than 500 controls, buttons. The Icon used in the library are free, but you can not redistribute it.
Please read readme.txt
License - General Public License: http://www.gnu.org/copyleft/gpl.html
Enjoy with the library
Regards
Prabhakant Patil
6,574 downloads
Updated