Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Files posted by Ton Plomp

  1. Code Capture Tool

    The Code Capture tool allows you easily create screenshots of you LabVIEW code for use in documentation, web-sites, wikis, emails.

    This tool provides an API for creating images of LabVIEW code as well a GUI for easy capturing and use of code.
    Further info is provided in the help-screen (F1) of the program.

    For the latest version visit the Code Repository

    For the latest version of the source code, visit SourceForge

    For more info, visit the LabVIEW wiki with the documenation.


    A series of videos is available on screencast: Code Capture Tool








    Installation

    ============

    To install the Code Capture Tool, run the 'Install Code Capture Tool.vi' in the LabVIEW version of your choice, or use the OGP file in conjunction with VIPM.

    A wizard will guide you through the installation procedure.


    Usage
    ============
    After installing and restarting LabVIEW, you can open the Code Capture Tool via the 'Tools' menu to capture an image of the current VI.
    For more info open the About screen of the GUI.

    Uninstalling
    ============
    To remove the Code Capture Tool from your LabVIEW installation remove the following files in your LabVIEW folder:
    Project\Code Capture Tool.vi
    user.lib\CCT.mnu

    And the following folder:
    user.lib\_Code Capture Tool


    In your LabVIEW data folder (in Windows, this is normally: My documents\LabVIEW Data) is a configuration file called Code Capture Tool.ini, which can be removed at any moment. However this file can be shared between mulitple versions of LabVIEW, I recommand you to use a special LabVIEW data folder for each LabVIEW version.

    Contact
    ============

    Comments, bugs and thank yous can be expressed to the NI Forums community , and on the LAVA community at the CCT discussion thread.

    12,405 downloads

    Updated

  2. Polymorphic VI Editor v1.0.1 LV2011

    Polymorphic VI Editor v1.0.1
    Copyright © 2012 Ton Plomp
    All rights reserved.
    Author: Ton Plomp
    LAVA Name: TCPlomp
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions:
    2009
    Dependencies:
    OpenG:
    oglib_array
    oglib_error
    oglib_file
    oglib_string
    JKI:
    jki_lib_state_machine
    Description:
    A GUI for easily editing polymorphic VIs and creating good-looking menu trees.
    Installation and instructions:
    A: Open the ZIP file and install the OGP file with OpenG builder
    B: run the 'Polymorphic Editor.vi' in the 'Build' folder
    Examples:
    Look in the LAVA discussion for this entry for some videos on this tool
    <object id="scPlayer" width="1027" height="517"> <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/FirstFrame.jpg&containerwidth=1027&containerheight=517&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/Polymorphic%20Editor.swf"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/"></param>'>http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/"></param> <embed src="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/jingswfplayer.swf" quality="high" bgcolor="#FFFFFF" width="1027" height="517" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/FirstFrame.jpg&containerwidth=1027&containerheight=517&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/Polymorphic%20Editor.swf" allowFullScreen="true" base="http://content.screencast.com/users/TonPlomp/folders/Jing/media/389dc546-26c4-499f-8702-0ffea3faf50d/" scale="showall"></embed> </object>
    Known Issues:
    Acknowledgements:
    OpenG.org for showing the power of polymorphic VIs
    JKI for providing an easy to use State Machine framework
    Version History:
    v1.0.0: Initial release of the code.
    License:
    Copyright © 2010, TC Plomp
    All rights reserved.
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
    3. All advertising materials mentioning features or use of this software
    must display the following acknowledgement:
    This product includes software developed by the <organization>.
    4. Neither the name of the <organization> nor the
    names of its contributors may be used to endorse or promote products
    derived from this software without specific prior written permission.
    THIS SOFTWARE IS PROVIDED BY TC Plomp ''AS IS'' AND ANY
    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL TC PLOMP BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    Distributed under the Creative Commons Attribution 3.0 (http://creativecommo.../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 lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and
    search for the "Polymorphic VI Editor" support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    2,207 downloads

    Updated

  3. Mercurial API

    An API for the Mercurial command line interface (hg), includes all the basic commandos:
    Add
    Archive
    Backout
    Branch
    Clone
    Commit
    Diff
    Forget
    Init
    Log
    paths
    Push
    Pull
    Remove
    Rename
    Revert
    Status
    Tag

    The API provides an interface to communicate with a Mercurial Repository.This API is not meant as a integrated Mercurial provider in LabVIEW.
    Installation is performed by VIPM, after which a palette is created in the user.lib palette.
    You can access the sourcecode of this API at Bitbucket.
    Licensed under GPLv2, since it creates a derivative on the Mercurial icon. © Matt Mackall
    Copyright © 2012 Ton Plomp
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

    2,530 downloads

    Updated

  4. Variant Probe

    Variant Probe V2.4.1
    Copyright © 2012, Ton Plomp
    All rights reserved.
    Author:
    Ton Plomp
    tcplomp@gmail.com
    Distribution:
    This code was downloaded from:
    http://lavag.org/index.php?app=downloads&showfile=19
    Description:
    A custom probe to put on a variant.
    It will create a tree based on the variant data, and populate the tree with the data, the attributes of the variant will be shown as well.
    The datatype description will determine the color of the tree items.
    Historical data is available as well.
    Version 2.0 introduces a Variant Tree XControl which can be used in any project. Located under the user.lib palette, it gives great flexibility to the programmer.
    The programmer has the possibility to give the end user permissions for the following actions:
    -Reset
    This will reset the whole tree contents
    -Traverse Variant Attributes
    This will enable/disable the traversion of variant attributes
    -Colorize
    This will enable/disable coloring of the actual datatype
    All of these customizations are available as properties/methods for the actual XControl as well, or you access them (while the owning VI is in edit mode) via the short cut menu.
    Installation method 1:
    Install the OGP file using VIPM (www.jkisoft.com/vipm)
    and you have a custom VariantProbe and xcontrol
    To use it add a probe to a variant datatype or to an array of variants.
    It can pause if the data changes, and will notify you if a change happens.
    Dependencies:
    The following OpenG packages should be installed:
    oglib_string>=2.6
    oglib_lvdata>=2.8
    oglib_comparison>=2.3
    oglib_error>=2.0
    Known issues:
    Is slow on large variants.
    Support:
    If you have any problems with this code or want to suggest features:
    http://lavag.org/index.php?showtopic=10269
    Version History:
    2.4.1: Fixed issue #132: An array inside another array crashes the probe/XControl
    2.4: Immediate updating after changing of attributes
    Rebuild in LabVIEW 2011
    2.3: Fixed a bug that caused attributes not to be traversed on certain data-types
    2.2: Fixed a relinking bug
    2.1: Fixes a bug where unnamed cluster elements where used (http://lavag.org/topic/10269-discuss-variantprobe/page__view__findpost__p__67677)
    2.0: Added an XControl
    Show XControl in palette (under user.lib controls)
    Add coloring
    Add 'user permissions' on XControl
    Add Reset on XControl
    Add optionally traversing attributes on XControl
    Add optionally colorizing on XControl
    Add optionally restting on XControl
    1.2.0: Upgraded to LabVIEW 8.5 to use inheritance
    Support for Waveforms, timestamps and dynamic datatypes (thanks to Osvaldo)
    Added probe for an array of Variants
    Distributed as one .llb and added OGP installer
    If a Variant hasn't changed it's not decomposed (optimization)
    1.1.0: Support for attributes of variants
    1.0.1: Controls placed on a seperate pane
    Resize tree to upper pane
    Hide unused columns
    Limited maximum history length (default 10)
    Window resizable
    1.0.0: Initial release of the code.
    License:
    This code is distributed under the BSD License
    Copyright © 2012, Ton Plomp
    All rights reserved.
    Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
    * Neither the name of the Ton Plomp nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    3,284 downloads

    Updated

  5. Mercurial Provider

    This toolkit allows you to directly communicate with you Mercurial repository, from within the LabVIEW project environment.
    This toolkit acts as an extension of the supplied LabVIEW SCC interface in LabVIEW professional.
    The toolkit allows you to commit, push, tag changesets. Has support for adding Issue tracking IDs.

    398 downloads

    Submitted

  6. HTML Report Embedded images

    This class adds a special version for the HTML-report generation VIs.
    By using this class you can use the normal report generation functions, however images will be embedded in the HTML file inside the <IMG> tag.
    This tool adds a special override class for the Report Generation toolkit. With this class come 3 overrides for the following functions:
    Append Control Image to report
    Append Image to report (path)
    Append Image to report (string)

    These functions allow you to embed the added image into the HTML IMG tag. With this functionality it's possible to generate HTML reports that can be shipped without depending on a file-layout or web-server.
    The included DEMO VI shows you how to use this class (only the initiate function is required), and loads a sample file into your default web-browser.

    596 downloads

    Submitted

  7. Encryption

    This package consist of a series of tools in native LabVIEW 2010 code.
    For encryption/decription the AES (Rijndael) routine is used with key sizes of 128, 192 and 256 bytes.
    The encryption supports the following block modes:
    EBC
    CBC
    CFB128
    OFB

    For signing of string/packages it performs the SHA-1 and SHA-2 hashing, for MD5 hashing the OpenG functionality is used.
    The hash functions return a binary string and a hex-formatted string with the hash.
    The following hashes are supported:
    MD5 (via OpenG library)
    SHA1
    SHA-2 224 bit
    SHA-2 256 bit
    SHA-2 384 bit
    SHA-2 512 bit

    For Hashed key authentication the HMAC functionality is provided based on the supported hash functions.
    The used functions are tested against NIST public test vectors.
    The use of these functions is not: secure the code does not try to protect it's memory nor the used keys.
    © Ton Plomp 2011 - No warranty implied.

    2,707 downloads

    Submitted

  8. XControl Inheritance

    Copyright © 2007, T. Plomp
    All rights reserved.
    Author:
    T. Plomp
    --see readme file for contact information
    Description:
    This tool allows XControl to (seemingly) natural inherit properties from their daughters.
    Version 1.1 includes better documentation (F1), and is better structured and more fail save.This program will allow the generation of Inheritance for XControls.
    It offers the option to generate new XControls fit for this tool.
    The programs are called via Tools->XControlInheritance
    The programs are located under \LavaCR\XcontrolInheritance
    Instructions:
    Installation via .OGP with OpenG Commander (http://commander.openg.com) or VI Package Manager (http://www.vipm.com/vipm).
    Or manual by placing the zip contents folder into %labview%\Project\LAVA\XControlInheritance
    Use:
    Start up from 'tools->LAVA->XControlInheritance' and pres F1 for detailed instructions
    Good luck,
    Ton
    Dependancies:
    The code uses the following OpenG libraries:
    oglib_array-2.3-1
    oglib_time-2.3-1
    oglib_file-2.8-1
    oglib_lvdata-2.7-1
    oglib_error-2.3-1
    Downloadable with VIPM (www.jkisoft.com/vipm)
    Change Log:
    1.1.1: Better structured, more internal control, better documentation
    1.0.8: Update after CR feedback
    1.0.7: Initial LavaCR release of the code.

    978 downloads

    Updated

  9. Align and distribute

    Align Distribute objects v1.2.0
    Copyright © 2010, Ton Plomp
    All rights reserved.
    Author: Ton Plomp
    LAVA Name: Ton Plomp
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions:
    LabVIEW 2009 and up
    Dependencies:
    No dependencies, demo VI needs the OpenG time library
    Description:
    A set of VIs to align or distribute a set of points or objects, they behave similar to the align and distribute functions in the LabVIEW IDE. These tools are usefull when dealing with objects that needs to be rearranged.
    The set of VIs is bundled in one polymorphic VI (align_distribute.vi) that has the following tree layout
    -Align
    -Top
    -point
    -rectangle
    -Left
    -point
    -rectangle
    -Bottom
    -point
    -rectangle
    -Right
    -point
    -rectangle
    -Vertical center
    -point
    -rectangle
    -Horizontal center
    -point
    -rectangle
    -Vertical center
    -point
    -rectangle
    -Distribute
    -Top
    -Left
    -Bottom
    -Right
    -Vertical Centers
    -Vertical Gaps
    -Vertical Compress
    -Horizontal Centers
    -Horizontal Gaps
    -Horizontal Compress
    Installation and instructions:
    Use the VI whereever you want, or install it into your user.lib with VI Package manage (http://www.jki-soft.com/vipm)
    Examples:
    The zip-file includes one DemoVI that moves front panel controls around
    Known Issues:
    Acknowledgements:
    Icons are supplied by National Instruments in the LabVIEW IDE
    Version History:
    AlignDistribute - 1.2.0 (Released 2010-06-28)
    =============================================
    - 0000021: [bug] The palette shows Align Distribute.vi as name.
    v1.1.0: Initial public release of the code.
    License:
    This code licensed under the BSD license
    ==============Start of license==================
    Copyright © 2010, Ton Plomp
    All rights reserved.
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
    2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
    3. All advertising materials mentioning features or use of this software
    must display the following acknowledgement:
    This product includes software developed by the .
    4. Neither the name of the nor the
    names of its contributors may be used to endorse or promote products
    derived from this software without specific prior written permission.
    THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY
    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    ==============End of 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 "Distribute objects" support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    392 downloads

    Updated

  10. Boolean XControl

    Boolean XControl version 2.2
    Copyright © 2009, Ton Plomp
    All rights reserved.
    Author:
    Ton Plomp
    tcplomp@gmail.com
    Distribution:
    This code was downloaded from:
    http://lavag.org/ind...ads&showfile=34
    Direct OGP download
    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
    The button itself can be a Modern, Classic, System or System Decoration style.
    Version 2.2.0 introduces nudging of the button, when the button is clicked the button (optionally) moves 1 pixel down,
    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:
    \_LavaCR\UserInterface\XControls\BooleanXControl\BooleanXControl_LCR.xctl
    You have to manually add it to your palette, since LabVIEW won't index XControls.
    To hide the use of the XControl to developers you should lock the facade vi (Abilities\BX.Facade__LCR.vi) so the 'Show diagram' options isn't shown.
    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:
    See this LAVA discussion: http://forums.lavag....trol-t8869.html
    Version History:
    2.2.0 (21 september 2009): Added 'Nudge' as an option
    Added different button styles (Classic, Modern, System, Decoration)
    Added a 'Show on Hover' option
    On initial drop the terminal is drawn as an icon
    Fixed dependencies of the OGP
    Fixed an 'Alwasy browse upon options' bug
    2.1.0 (6 may 2009): Fixed a bug that closed up the project when it was closed when a VI with the Boolean XControl was still open.
    Added an MNU file
    Changed development version to 8.5
    2.0.12: Changed the default lettertype to be the first one, size 10.
    Changed the default behaviour to show the 'Hilited' item
    Included a CreateIconVI.vi
    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.

    5,921 downloads

    Updated

  11. Variant to Control

    opyright © 2007, Ton Plomp
    All rights reserved.
    Author:
    Ton Plomp
    --see readme file for contact information
    Description::
    This tool converts any datatype into a control, this control can be typedef, a special Use-case VI is added:
    Array of strings to an enum.
    Especial usefull if a list of allowed values is avialable and is case sensitive (XML...)
    The control can be saved as a typedef
    Originated from Array To Enum
    Acknowledgements:
    Uses code by Bob Billier from his RTM to Enum tool
    Dependencies:
    Uses the following OpenG toolkits:
    oglib_lvdata-2.7-1
    oglib_error-2.3-1
    oglib_file-2.8-1
    These can be installed with VIPM (http://jkisoft.com/VIPM)
    Version History:
    1.1.0:
    Added Variant to control
    1.0.0:
    Initial release of the code.

    2,261 downloads

    Updated

  12. Truncate Path Xcontrol

    Copyright © 2007, Ton Plomp
    All rights reserved.
    Author:
    Ton Plomp
    --see readme file for contact information
    Description:
    It will truncate a path to fit inside a (multiline) string.
    Besides basic funtionality it has the following properties:

    Truncated string (Read only property that will return the truncated string) Button Visible (Read/Write, this property will show/hide the browse button) Browse properties (Read/Write, this property will set/get the browse options) Multi-Line (Read/Write, this property will set/get the multiline option of the truncated path) Methods: Truncate Path (this method uses the VIs to truncate a path to a string) Truncate Multiline Path (this method uses the VIs to truncate a path to a multiline string) For the developer it has the following advantages:
    Set the browse options with a dialog similar to the native browse options dialog Browse for a path Show/Hide browse button Control the multiline-ness of the control Known issues: No drag and drop Bounds of indicator/control include (invisible) browse button Version history
    1.1.0Includes multiline truncation Distributed as LLB [*]1.0.0
    Initial release of the code

    1,167 downloads

    Updated

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.