Jump to content

*Uncertified*

Post code here that is not ready for certification. Once it is ready for certification please notify the moderators. It will then be moved to the proper category.

77 files

  1. Multi Column ListBox with 2 selections only

    I had a need for a multi-column list box and i needed only 2 selections for the user to make, well in labview they did not have that option it's either 1 or 3 or more. So i made this little adapter to suit my needs.
    Thanks,

    1,127 downloads

    Updated

  2. LVOOP Custom User Scripting

    LVOOP Custom User Scripting v1.1.1-1
    Copyright © 2009, Jonathon Green; JGCODE
    All rights reserved.
    Author: Jonathon Green
    LAVA Name: jgcode
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions:
    LabVIEW 2009
    Dependencies:
    No Dependencies
    Description:
    Contains Custom User Scripting Hook VIs which are called at the end of their respective scripting processes e.g. New>>VI for Data Member Access...
    New scripting includes:
    All
    - BD control labels to left
    - BD indicators labels to right
    - BD controls moved closer to case structure's left hand side border after label repositioned
    - Case structure expanded downwards and free label placed under error wire with default "Comment"
    - FP controls (excluding owning class or error in) labels bolded to match required parameter on connector pane
    Array and MultiDim Array Only
    - Index/Indices control moved outside case structure inline with other controls
    - Data Member control and Index/Indices control switched on connector pane
    - Index/Indices control set as required parameter on connector pane
    - FP reflects new connector pane order
    Other features includes:
    - Default save name for Write Method changed from "Write " to "set"
    - Default save name for Read Method = "Read " to "get"
    Hooks are installed in the (LabVIEW 2009)\resource\Framework\Providers\LVClassLibrary\NewAccessors directory
    This package installs the following hooks:-
    Scalar Data Member - BaseAccessorScripter\Custom User Scripting For New Simple Accessor VI.vi
    1D Array Data Member - ArrayElementScripter\Custom User Scripting For New Array Element Accessor VI.vi
    2D+ Array Data Member - MultiDimArrElemScripter\Custom User Scripting For New MultiDim Array Element Accessor VI.vi
    See here for more information
    All existing hooks will first be moved to a persistant folder (\addons\_JGCODE Toolkits\lvoop custom user scripting\NewAccessors Original).
    The packaged hooks will then be installed.
    If the packaged scripting does not match your style then they may server as a useful example.
    Installation and instructions:
    Install the package using VIPM.
    At unistall, the packaged hooks will be unistalled and replaced by the original hooks.
    Examples:
    Open Examples\Test.lvclass
    Right click on the Test.lvclass and select New>>VI for Data Member Access...
    Select a read and write template for Simple, Array and MultiDim Array .
    Inspect the FP and BD of the new VIs created to see the additional scripting.
    Save the Simple write method to see the new default save name of "setSimple.vi".
    Save the Simple read method to see the new default save name of "getSimple.vi".
    Known Issues:
    All - If a template name already exists LabVIEW will change it to a default. This will usually occur for arrays where the data member name is not used, but rather the element name of an array.
    Array (Read/Write) - Comment is sitting on Index Control's wire
    Read - Index control not in line with Index Array function
    MultiDim Array (Write) Indicies control not in line with Index Array function
    Acknowledgements:
    Stephen Mercer (AQ)
    OpenG
    ICON Technologies
    François Normandin
    Version History (Changelist):
    1.1.1-1 2009 12 22
    [New] Renamed packaged, designated old package as conflict
    [New] Updated .zip name to include LabVEIW Version (LAVA CR Certified requirement).
    [New] Dependencies included in package
    [Fix] Removed CLSUIP_LocalizedStrings.vi so as not to distribute NI VIs (LAVA CR Certified requirement).
    [Fix] Changed nameing convention to retain capitalisation.
    1.1-1 2009 11 27
    [New] Added support for when "Include Error Handling Terminals" is unselected
    [New] Default save names included. Write: set; Read: get (where is the Data Member Name in camel notation)
    [Fix] VIPC file now does not contain packages, it is a list only
    [Fix] Removed Quick Drop dependency
    1.0-2 2009 11 17
    [New] Added VIPC file for dependencies
    1.0-1 2009 11 17
    [New] Initial release of the code (LabVIEW 2009).
    License:
    BSD
    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 LVOOP Custom User Scripting support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    1,335 downloads

    Updated

  3. String To Hex Array

    this is a very simple LabVIEW code... but i'd like to share this to my fellow LabVIEW developers... this code will convert hex string to a U8 array hex format.. please let me know if you have question or suggestion on this VI. Thanks, Sherwin Tiongson

    1,352 downloads

    Updated

  4. Apply Icon To VIs Button

    Apply Icon To VIs Button v1.0
    Copyright © 2010, Jonathon Green; JGCODE
    All rights reserved.
    Author: Jonathon Green
    LAVA Name: jgcode
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions:
    LabVIEW 2009 only
    Dependencies:
    None
    Description:
    This package contains code posted on NI Forums by NI that applies a fix to the Properties Dialog Box of a Library that adds a Apply Icon To VIs button. This button allows you to easily apply a Library's icon to all Member VIs. Previously you would have had to open the Library icon, edit it, apply changes, then re-edit (it back).
    This fix is for LabVIEW 2009 only. This feature will be native in 2010.
    This package will install files to the labVIEW 2009\resource\Framework\Providers\VILibrary folder
    On unistall the original files will be re-installed.
    See here to view original post by AQ.
    Installation and instructions:
    Install package using VIPM.
    Open a LabVIEW Project
    Add a new VI to the project
    Create a new Library
    Add the VI to the Library (note - the VI's icon will not include the Library's banner)
    Open the Library's Properites Dialog Box
    Press the new "Apply Icon to VIs" Button
    The VI's icon will have updated with the the Library's icon
    Close the Properties Dialog Box
    Examples:
    No Examples
    Known Issues:
    No known issues.
    Acknowledgements:
    Aristos Queue
    Thomas Sandrisser
    Version History (Changelist):
    1.0-1 2010 06 12
    - New (): Initial public release of the code (LabVIEW 2009)
    License:
    Copyright © 2010, National Instruments
    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 Apply Icon To VIs Button support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    835 downloads

    Updated

  5. Toolbar XControl

    lavag_lib_User_Interface_XControls_Toolbar XControl v1.0.0.3 by University of Leeds
    Author: Gavin Burnell
    Copyright: Copyright © 2013, University of Leeds
    License: BSD
    Compatible LabVIEW Versions: >= 2012.
    Compatible OS Versions: ALL.

    Description:
    This is a native toolbar for LabVIEW implemented as an XControl. It supports a single row of square buttons which maybe latching (sticky) or transitory (command) style buttons drawn in one of 4 different styles (system, square, flat or rounded). The toolbar will report button clicks via a value change event, but allows the possibility for further integration into other messaging systems.

    The buttons are represented as instances of a button base class that provides methods for drawing the button, updating tooltip text or responding to clicks. Overriding these methods in subclasses allows a greate flexibility of response. Included in the package is a 'vi-button' class that stores a vi reference with each button and executes it when clicked.


    This Package depends on these other packages:
    oglib_string >= 4.1.0.12

    1,060 downloads

    Updated

  6. Multiple File Path Control

    This Multiple File Path Control is similar to the default File Path Control in LabVIEW 2011, however you can select more than one file at a time. The data type on the block diagram is an array of File Path Control.
    Right click on the MFPC to have it display the full paths or just the file names.
    I'll try to post this in pre-2011 but because it uses silver controls, I'll have to make some significant changes.

    626 downloads

    Submitted

  7. Advanced Database Query

    Description:
    This component automatizes the work of: format sql statement, execute sql query and build a cluster with data output.
    This function accept a sql statement with parameters like format into string and you can resize this function to the number of input parameters.
    The output data can be a cluster or an array of cluster defined double clicking on function.
    How to use:
    Wire db connection input.
    Wire sql statement with parameters like format into string function.
    Resizes the function with the number of parameters into sql statement,
    If the sql statement produces data output, double click on function to Edit columns of data outuput.
    Requirements:
    Database conectivity toolkit
    Scripting tools
    This function isn't 100% complete. It's need to complete some abilities and code improvements. If anyone want help me, be welcome.
    My email is bitcosta@ig.com.br

    766 downloads

    Updated

  8. IE 2009 Update

    IE 2009 Update v1.0
    Copyright © 2010, Jonathon Green; JGCODE
    All rights reserved.
    Author: Jonathon Green
    LAVA Name: jgcode
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions:
    LabVIEW 2009 only
    Dependencies:
    None
    Description:
    WARNING: This patch is cannot be unistalled.
    This package is a repack that contains code posted on NI Forums by NI that applies a fix to the Icon Editor 2009. This was a large patch that fixed a number of CARs. However, this update was not included in the LabVIEW 2009 SP1 release.
    This package will install files to the labVIEW 2009\resource\plugins\NIIconEditor folder
    In particular, the following CARs are addressed in this service pack:
    See here to view the original document and code posted in the Enhanced Icon Editor Group.
    151661
    This change fixes the copy/cut ability of the icon. If a region is selected and/or a layer is selcted, copy and cut is enabled.
    161032
    No limit on arrow keys moving text
    175010
    When moving a selction and changing a layer, the operation is performed on the new layer
    179582
    Glyph layer moves after deleting a selection (first edit to the layer)
    179799
    If the bottom layer got deleted, the user layers list is not updated properly
    179392
    Icon editor open on secondary screen when working with two screens
    179000
    Switching the tab doesn't actually unselect the layer
    179001
    CTRL - A followed by pressing the delete key doesn't delete all selected layers
    179007
    The key binding is messed up. The mirror tool has set as the toggle key, whereas the OK button should have to set the focus.
    179179
    Control activates dropper and not move tool when pasting an image
    180161
    It is possible that multiple icon layers are copied in reverse order and neither template nor text layer are considered at all
    182276
    Icon glyphs do not handle standard transparency
    182828
    Manual User Input.vi - OK button doesn't stop the while loop
    182893
    Paste/Cut of text doesn't update the icon text
    182992
    Populate Tree.vi can not handle folder with a dot in its name
    186982
    [iE] Wrong Icon is loaded in Icon Editor
    Installation and instructions:
    Install package using VIPM.
    Restart LabVIEW
    Examples:
    No examples.
    Known Issues:
    No known issues.
    Acknowledgements:
    Thomas Sandrisser
    Version History (Changelist):
    1.0-1 2010 06 12
    - New (): Initial public release of the code (LabVIEW 2009)
    License:
    Copyright © 2010, National Instruments
    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 IE 2009 Update support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    773 downloads

    Updated

  9. Calendar XControl

    This XControl has the nice feature that a Calendar control should give you.
    Multilanguage support by property node.
    The input and output are Labview Time Stamp.
     
    When selecting a date, the date in the calendar become light blue.
     
     
    Please you receive this XControl for free. The minimum you can do is to rate it.
     

    345 downloads

    Updated

  10. FTDI libMPSSE-SPI

    Initial release. It is hairy, but less so than the original import wizard.

    358 downloads

    Submitted

  11. ShapeLib

    This is a package containing LabVIEW bindings to the library ShapeLib for working with shapefiles.

    The DLL as of version 1.3.0 is included in the package. This DLL is compiled with Microsoft Visual Studio 2010 Express, so you need the corresponding runtime. But chances are you already have it because other programs on your computer need it, too. So just give it a try.
     
    The library is thread safe, but the objects are not. E.g. you can open two different files in different threads, but you can not operate on the same file from two different threads at the same time.
     
    As of the moment the DLL is 32bit only.

    203 downloads

    Submitted

  12. OpenG Config XNodes

    These XNodes wrap the OpenG Variant Config routines so that clusters are automagically returned as themselves rather than as variants. The XNodes simply call the OpenG routines, as I didn't want to have to worry about handling (or rewriting) the reentrant algorithm used.
    XNodes are provided for Read/Write INI Cluster, Read/Write Section Cluster, and Read/Write Key, and should work as direct replacements.
    Many thanks to Gavin Burnell for his extremely helpful toolkit, and his release of Array XNodes which provided the inspiration for trying my first XNodes. I also use a modified version of the XNode Manager by Aitor Solar to create the initial XNodes.
    All the usual caveats apply when using XNodes - i.e. don't, unless you know what you're doing, or don't care what happens!
    Dependencies:
    oglib_variantconfig >= 2.7-2
    lava_lib_labview_api_scripting_tools >= 0.22.2.22

    435 downloads

    Updated

  13. Cp Cpk Calculation.vi

    This Vi Calculate th Cp and Cpk values of a dbl array values.
     
    It's quite usefull to do some statistical analysis of a process capability.

    451 downloads

    Updated

  14. DCG

    Allows new functions to be compiled during runtime by using libtcc. http://bellard.org/tcc/
     
    Features Full ANSI C compiler  ISO C99 extensions (Missing only complex and imaginary numbers) GNU C extensions (See TCC Docs) TinyCC extensions (See TCC Docs) GNU-like inline assembler  32bit & 64bit opcodes depending on DLL (See TCC Docs) Compile to memory to call as function or disk as exe Allows for dynamic code Pointer safe checks  
    Examples
    Adding 2 numbers and using return to get the result
    Using system to call cmd
    Inline x86 assembly
    Passing in information using argc and argv
    Using pointers to pass a string in and an SHA512 hash out
     
     
    Uses libtcc unmodified, so for security reasons you can download the dll from the author's website or compile your own from source. The dll is included if you wish to use it.
     
    Some very basic examples that show off only a tiny subset of the features this compiler offers. Unless you are very careful, compiling functions during runtime can lead to unstable code. (Test before you deploy) All examples should run without issue but modification can and will lead to crashing. (Save often)

    135 downloads

    Updated

  15. 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

  16. 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.

    592 downloads

    Submitted

  17. List all VISA session opened

    This VI list all VISA session opened and allow you to close all of them.
     
     
    Some times when the GPIB stuck and the VI wont stop..... This VI is a better solution than reboot.

    280 downloads

    Updated

  18. VIM HAL Demo

    This is an experimental demo to investigate VIMs (vi macros). It was a bit of fun to see if VIMs could be used to encapsulate events in LabVIEW which was a bugbear of mine for quite some time. You can see the entire thread here. VIMs are a NI experimental technology similar to Xnodes but less mature.
     
    The purpose of this release is to clarify the previously unstated licence since other forum topics are building on the original demo so they need a permissive licence (MIT). This release serves as an unambiguous statement to that effect. There are a few differences from the original which I have decided to call version 0.1 but they are minor.
     
    Note:
    This may or may not work for you out of the box. If it doesn't then please do not post. The purpose is to clarify the licence for others to build upon; not to provide a working example. The VIM technology is itself  experimental and unsupported by NI so most issues you will encounter will be due to this and It is unlikely there will be another version posted here.

    279 downloads

    Updated

  19. Library And Class Icons

    Library and Class Icons v1.0
    Copyright © 2010, Jonathon Green; JGCODE
    All rights reserved.
    Author: Jonathon Green
    LAVA Name: jgcode
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions:
    LabVIEW 2010 only
    Dependencies:
    None
    Description:
    This package contains code posted on NI Forums by NI that applies a fix to the VIs in the Enhanced Icon Editor. VI passwords have been removed!
    This fix is for LabVIEW 2010 only.
    This package will install files to the labVIEW 2010\resource\plugins\NIIconEditor\Support folder
    On uninstall the original files will be re-installed.
    See here and here to view original document and post by AQ.
    Installation and instructions:
    Install package using VIPM.
    Examples:
    No examples.
    Known Issues:
    No known issues.
    Acknowledgements:
    Aristos Queue
    Version History (Changelist):
    1.0-1 2010 08 28
    - New (): Initial public release of the code (LabVIEW 2010)
    License:
    Copyright © 2010, National Instruments
    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 Library and Class Icons support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    403 downloads

    Updated

  20. Traffic Jam Game

    Has your stressful day at work got you down?  Want to take a load off and relax with a game?  Why not a LabVIEW game?  Here is a game I made a while ago and forgot about.  It is called Traffic Jam similar to this, or this one called Rush Hour.  The basic goal of the game is to get the red car out of the parking lot, by moving the other cars.  Cars can only move in one direction and can't turn.
     
    My coding style has improved over the years, but I'm not yet ashamed of the work I did on it.  It was fun working with the picture control and generating the UI based on the level files.
     
    This game comes with 122 levels.  Why 122?  Because I forgot to put in the last 18.  Feel free to add them yourself by editing the Set text files.
     
    This game also keeps track of your high score, so you can try to go back and do it in less moves.

    230 downloads

    Submitted

  21. Tab into cluster contents

    Copyright 2015, Merecs Engineering GmbH&Co. KG
    All rights reserved.
    Author:
    Christoph Deus
    Instructions:
    This code has been tested to run under LabVIEW 2014.
    Features:
    - Enables Tabbing into and out of Cluster-Controls
    - Also works with Clusters on Tab-Controls
    Support:
    If you have any problems with this code or want to suggest features, please let me know or post to the LAVA forum.
    Version History:
    1.0.0:
    Initial release of the code.

    237 downloads

    Updated

  22. U8 Array 2 Space Delimited String

    "Converts U8 Array into Space Delimited String".. This is a very simple code but often times very handy when you are in a hurry writing your code and want to finished asap. Description: it will convert a u8 hex array into a space delimited hex string. please let me know if you have concern or question regarding this LabVIEW code. Autthor: Sherwin Tiongson..

    774 downloads

    Updated

  23. RCF LVS Conversion Toolkit

    Hi Everyone,

     

    We have recently developed a toolkit that allows you to use Quick Drop plugins in Right Click Framework or LabVIEW Speak platforms.

     

    Named RCF LVS Conversion Toolkit, this toolkit provides an easy solution for JKI Right Click Framework (RCF) and LabVIEW Speak (LVS) lovers who want to use a quick drop plugin in RCF or LVS.  Now, you wont be disappointed when you see a useful plugin not written in your favorite platform's plugin format.

     



     

    Procedures are simple:

     Open the toolkit by going to Tools Menu >> Synovus >> RCF LVS Conversion Toolkit...
     Select the target Quick Drop plugin VI
     Type the command name in Right Click Framework or LabVIEW Speak
     Click OK
     

    Now you can use the Quick Drop plugin in Right Click Framework or LabVIEW Speak platform

     

    Features:

     Automatically converts a QD plugin to RCF or LVS plugin format
     Warns the user if repetitive commands are installed.
     Provides an instruction as user clicks help button.
     Helps the user navigate to the plugin folders (LVS, QD and RCF)
     Modifying the functionality in Quick Drop VI will automatically update the functionality in Right Click Framework or LabVIEW Speak
     

    Please let me know if you have any questions. Suggestions and comments are welcome 

     

    Note: RCF and LVS only update their lists of commands at startup. If you use the RCF LVS Conversion Toolkit when RCF and LVS are open, please restart these platforms.

    126 downloads

    Submitted

  24. Mandelbrot Explorer

    Simple Mandelbrot explorer that I wrote a few years ago.

     

    Features

    Many predefined color pallets

    Rolling color pallet to produce motion effect

    Ability to customize the color pallet

    Log color mapping

    Keyboard or mouse control

    Basic shortcut keys

    Saving high res images

     

    Needed improvements

    Clustering to clean up code more

    Save settings

     

    Operation

    Load project in LabVIEW 2015 32/64 bit

    Start program using Mandelbrot Main.vi

    210 downloads

    Submitted

  25. Switch of Autoplay

    This VI accesses the registry and changes the Key that is responsible for Autoplay (WinXP). This should help against those worms/viruses that spread via USB Disks.

    434 downloads

    Updated




×
×
  • Create New...

Important Information

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