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 

> Boolean XControl

Screenshot
File Information
File Name Boolean XControl by Ton
Submitted Jul 26 2007, 07:40 PM
Last Updated Sep 10 2007, 06:56 PM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 3.2MB (Estimated Download Times)
Views 2171
Downloads 460
Add Rating
Boolean XControl version 2.0.12
Copyright © 2007, Ton Plomp
All rights reserved.

Author:
Ton Plomp
tcplomp@gmail.com

Distribution:
This code was downloaded from:
http://forums.lavag.org/downloads.html

Description:
This XControl has a configurable apperance, functioning as a boolean it can show a custom picture with a custom (formatted) text.

On initial drop of the XControl it will show a browse window to load a picture (png, jpeg or bmp) as view of the boolean.
After that the GUI configuration of the XControl is shown where the position of string an picture can be set amongst other things.

The XControl has 3 possible boolean behaviours:

-Switch when pressed
The boolean value will change as soon as the mouse is down on the XControl
-Switch when release
The boolean value will change as soon as the mouse goes up on the XControl, the button will react on the mouse-down
-Switch until released
The boolean value will be changed when the mouse goes down and reverts as the mouse goes up

For the developer it has the following advantages:
-Have a configurable boolean button with customizable interface and behaviour, all of the items can be controlled via VI-server

Instructions:
Unzip to a custom location.

Explore the possibilites with the included Demo.vi which is linked to the XControl in XControl\BooleanXControl_LCR.xctl

To reuse this XControl in mulitple projects install the OGP file with VIPM (http://www.jkisoft.com/vipm), after installation it will be located in:

user.lib\_LavaCR\UserInterface\XControls\BooleanXControl\BooleanXControl_LCR.xctl

You have to manually add it to your palette

Addons:
The zip includes a CreateIconVI.vi which will convert any given picture (preferably a 32x32 png) into a VI constant with the icon of the VI the same as the picture. This can be usefull to include some constant pictures inside code that is controlling the XControl


Known issues:
Do not apply multiple properties in one property node, this is a bug in LabVIEW 8.0/8.2

Support:


Version History:
2.0.11: Second upload to Lava CR

Dependencies:
Uses the following OpenG toolkits, which can be downloaded with VIPM (http://www.jkisoft.com/vipm)
oglib_appcontrol >= 2.9.1
oglib_error >= 2.3.2
oglib_file >= 2.8.2
nirsc_html_help_common >= 1.0.1
oglib_array >= 2.7.1
aglib_string >= 2.6.1
oglib_lvdata >= 2.8.1

License:
Distributed under the BSD license.
Other Information
Support Topic Click here to visit support topic
File Version 2.0.12
LabVIEW Version 8.2.x
License The BSD License
Operations
Approved by mballa on Aug 19 2007, 02:32 AM
Download File

> Saved Versions

Name Filename Updated Operations
Boolean XControl Boolean_XControl_2.0_11_A.zip 19th August 2007 - 06:35 AM
Boolean XControl Boolean_XControl_2.0_11_A.zip 19th August 2007 - 12:02 AM
Boolean XControl Boolean_XControl_2.0_11.zip 18th August 2007 - 06:04 PM

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
1 user(s) active in the past 15 minutes
Active Users 1 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats We have a total of 74 files in 13 categories
A total of 40 unique authors have submitted to our site
There have been 28711 logged downloads to date
The latest file submitted was Skype SDK by Antoine Châlons (submitted Dec 24 2008, 09:44 AM)


Time is now: 6th January 2009 - 06:09 AM