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. Waveform Class

    LabVIEW Versions:
    2010 SP1
    Dependencies:
    None
    Description:
    This is a reference based class for handling waveform data. The waveforms are pre-allocated for faster access. Methods allow you to append new waveforms, read the existing waveforms, read a subset of the existing waveforms, or read a decimated copy of the existing waveforms.

    452 downloads

    Updated

  2. New Accessors

    New Accessors 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 New Accessors folder. All VI passwords have been removed!
    This fix is for LabVIEW 2010 only.
    This package will install files to the labVIEW 2010\resource\Framework\Providers\LVClassLibrary\NewAccessors 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 New Accessors support page.
    Distribution:
    This code was downloaded from the LAVA Code Repository found at lavag.org

    404 downloads

    Updated

  3. Falk Schneider

    This snippet demonstrates how to handle the runtime contextmenu of various controls in one single dynamic event case. Notice how you only need to bundle the different references of all the controls into one "Register for Event" input. Discrimination between the different controls happens inside the dynamic event handling case as is shown here with singling out one control for which the conxext menu remains standard while for all other controls just a singular menu item is generated.
    This was created as an answer to the following post:
    https://lavag.org/topic/4796-control-user-run-time-menu-checkmark/#entry26461
    LabVIEW version is 2013

    176 downloads

    Updated

  4. Triple buffer

    (initial discussion, with other implementations here)
     
    In the need for displaying large images at a high performance, I wanted to use triple buffering in my program. This type of acquisition allows to acquire large data in buffers, and have it used without copying images back and forth between producer and consumer.
     
    This way consumer thread doesn't wait if a buffer is ready, and producer works at max speed because it never waits or copy any data.
    If the consumer makes the request when a buffer is ready, it is atomically turned into a "lock" state. If a buffer isn't ready, it waits for it, atomically lock it when it is ready.
     
    This class allows to have a producer loop running at its own rate, independently from the consumer. It is useful in the case of a fast producer faster than the consumer, where the consumer doesn't need to process all the data (like a display).
     
    How to use

    Buffers are provided at initialization, through refnums. They can be DVRs, or IMAQ refnums, or any pointer to some memory area.
    Once initialized, consumer gets the refnums with "get latest or wait". The refnum given is locked and guaranteed to stay uncorrupted from the producer loop. If new data has been produced between two consumer calls, the call doesn't wait for new data, and returns the latest one. If not, it waits for the next data.
    At each producer iteration, producer starts with a "reserve data", which returns the refnum in which to fill. Once data is ready, it calls "reserved data is ready". These two calls never wait, so producer is always running at a fastest pace.

    Implementation details

    A condition variable is shared between producer and consumer. This variable is a cluster holding indexes "locked", "grabbing", and "ready". The condition variable has a mechanism that allows to acquire mutex access to the cluster, and atomically release it and wait. When the variable is signaled by the producer, the mutex is re-acquired by the consumer. This guarantees that the consumer that the variable isn't accessed by producer between end of consumer wait and lock by consumer.

    Reference for CV implementation: "Implementing Condition Variables with Semaphores ", Andrew D. Birrell, Microsoft Research

    215 downloads

    Updated

  5. Move_Cursor_with_Scroll_Key

    Copyright © 2012, Prabhakant Patil
    All rights reserved.
    Author: Prabhakant Patil
    Contact Info: Contact via PM on lavag.org
    LabVIEW Versions: 2012
    Dependencies:
    1. LabVIEW Runtime engine 2012
    Description:
    This example will help you to scroll graph cursor with scroll keys ( UP, Down. Left, Right)
    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 "Move_Cursor_with_Scroll_Key_LV2012" support page.
    Prabhakant

    300 downloads

    Submitted

  6. Select N inputs (xnode)

    a "Select" ... but with N inputs

    2 menus :

    1)
    a - select mode : after&before , only after, only before
    b - select output : top , center

    2)
    a - add input (after)
    b - remove input

    ouadji,

    (for a quick test ... unzip ---> QUICK_TEST.vi)

    186 downloads

    Updated

  7. Wire And Connect Quick Drop Plugin

    This Quick Drop (QD) plugin complements the functionality of the built-in QD plugin (CTL-Space-CTL-D) by wiring between selected controls, indicators, constants, and SubVIs.   

    Default Shortcut - [W] Normal Operation Wires selected nodes in left to right order.  Attempts to connect any common unwired terminals in between the far left and right nodes by checking the datatype, Name, or Caption. Holding Shift and the Shortuct: Wires controls to unwired far left Node terminals and indicators to unwired far right node terminals.     This is just something I put together as my first attempt at a Quick Drop plugin.  Something similar has been done previously to wire the corners of subVIs using the right click framework by user JCC_(SK): RCF Plugin - Wire Nodes by Corner - https://decibel.ni.com/content/docs/DOC-8386 . Code for this plugin was developed prior to knowledge of the JCC_(SK) RCF code and probably doesn't function as well since it hasn't been tested thoroughly. However this plugin is for quick drop and has some added capability to wire up all like terminals but can suffer from potential overzealous wiring. Just delete extra wires if necessary. Thanks to the NI guys for creating the QD template with good instructions.  Someone may have done this already but I'm putting this out for comment anyway.   <a href="http://www.screencast.com/t/PZhMafM2">WireAndConnectVideo</a>   http://www.screencast.com/t/PZhMafM2  

    190 downloads

    Submitted

  8. filter specific range of color

    This function filters blue pixels.
    I have used HSL.

    335 downloads

    Updated

  9. LabVIEW Tray Launcher

    This application is designed to help manage a system, that has multiple versions of LabVIEW installed. It does this by adding an icon in the system tray for launching any version of LabVIEW installed. This may work with 64-bit versions of LabVIEW but it has never been fully tested.  It has several other features which are useful when having multiple versions of LabVIEW installed.
    Launch any version of LabVIEW installed from the system tray icon. Kill or restart any version of LabVIEW running from the system tray icon. Abort all VIs running in all versions of LabVIEW from the system tray icon. (not asynchronous clones at the moment) Abort all private context VIs from the settings dialog found by double clicking the system tray icon. (not asynchronous clones at the moment) Control what version of LabVIEW is used on opening a VI or LabVIEW file. (File Extension support in the configuration dialog) Configuration can chance the behavior of this but by default it will ask what version of LabVIEW to open a VI in if more than one version can open it. By default a VI set to Run On Open will always ask what version, and if you would like to run it on open or just open it. Shift can be held when opening a VI to always be asked what version to use. CTRL can be used to select the default option which is generally the last version used. By default if only one version of LabVIEW is running, and it can open the VI, then it will be opened in that version. Other file extensions can be selected after the install. Read the Readme Usage for more information on how this works. For this software to function properly, at least one LabVIEW Run-time, or development needs to be installed which is version 2011 or newer.  The source includes all versions from 2011 to 2017.  The installer includes the builds from all versions 2011 through 2017.  An AutoIt script and source are included which selects the right EXE based on what version of the run-time engine are installed.  This is why multiple versions are included in the installer.
    Also for VI Server functions to work properly each version of LabVIEW needs to be configured to have TCP/IP configured and a unique port.  This is all done automatically through VIPM so my suggestion is to configure all versions of LabVIEW through VIPM, at which point this tool should work.  Some features of this will work without this enabled but not all of them.
    This is the LabVIEW Tray Launcher, originally discussed and developed in 2009 here.
    A fully built installer for version 1.5.0 can be found here.  Just download the installer and run it. It should add all the needed files to the Program Files directory, and edit the registry if you allow it during the install.

    158 downloads

    Submitted

  10. XBee API Mode API

    This is simple library for parsing XBee API packets.

    585 downloads

    Submitted

  11. Bluetooth Connect and Event Monitoring

    This VI can Discover, Pair, or Remove Bluetooth Device.  Can Connect or Disconnect (no data socket enabled yet),  Can establish a Comm Port, Open the Comm Port, Close A Comm port.
     
     
    Has the machinery but needs debugging for the Windows bluetooth Event Monitoring.  Any help would be VERY VERY WELCOME.
    I'm uploading this because I really wish somebody else had uploaded the necessary code for bluetooth pairing, but at the moment wish somebody else had uploaded code for monitoring bluetooth events (connect or disconnect events)

    381 downloads

    Submitted

  12. UDPErrorLoggingPurging

    Abstract
    This is a "simple" xNode that assolve two issues :
    -Purges error cluster data(eg.Clear the status boolean)
    -Sends UDP packet (containing error cluster data) to a Server to log errors or doing what else you want.
    License
    See BlockDiagram of VI "UdpLoggerError HowTO.vi"
    Copyright © 2008-2009, Giovanni Terracciano
    VariantSistemi snc
    All rights reserved.

    396 downloads

    Updated

  13. Example Custom Radio Buttons

    Test stand had a touch screen. User wanted radio buttons instead of a pull-down menu. Wanted tests to run on pressing the button and pass/fail indication thereof. So I did that for him. Here is the stand-alone proof-of-concept that I worked up for it. Arrays are used so Boolean texts can change to suit different models of unit under test. If a Boolean text is blank, then that button will go invisible meanwhile, there being as many (up to 7) or as few (down to one) as may need be.
    I should mention, in case it's not obvious, that when in actual use, the three arrays are hidden inside of a sub-VI and not (as shown here) visible to users as part of the front panel.

    205 downloads

    Updated

  14. .xml test report Measurements.zip

    This XML test report library is available for you to modify at your will.
    It is based on the IPC-2547 standard so it is easier for any other application or database to parse.
    The html file report offered by LabVIEW was not sufficient for my need.
    So I created those. enjoy!!!

    188 downloads

    Updated

  15. FPRefs2VariantAttributes

    The VI acquires all front panel control (and indicator) references and one by one passes them into a variant using its attributes. This way of storing the references makes them faster to be found within an application than by storing them in a cluster along with their name and using "search 1D array". The idea of this use case came from a nugget by NI's Darren.

    127 downloads

    Submitted

  16. 55 easily distinguishable color.vi

    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.
     
    Please use the new version at: New version

    127 downloads

    Updated

  17. easy increment

    I have always found it frustrating that I cannot efficiently change numerical values with the mouse only. This is especially true when I'm simultaneously looking at a gauge on the other side of the room and changing values with my wireless mouse.
    "easy increment" selects individual decimal place values by moving the mouse across the spacial extent of a numerical control. Mouse wheel scrolling may then be used to to modify these values.
    It's easier to use than explain, I promise!

    150 downloads

    Submitted

  18. LU Solver

    A native Labview (wire) general real matrix solver.
    Based on BLAS (FORTRAN code included)

    152 downloads

    Submitted

  19. Help! Discovered a big bug of labview's ChirpZ Transform function(Not Sure)

    When using ChirpZ transform of LabVIEW(The example itself provides),I found a strange thing.When the frequency is very big and the range is small together with a not small number of ChirpZ transform,Error happened(very bad spectrum and wrong frequency ChirpZ's result is)! Nothing is wrong with the examples(I've scripted other VIs to verify this),and this error didn't happend using MATLAB. So I believe that is a bug of LabVIEW!!!(Not Sure yet of course). I Need Help! Talent Masters, Come out!

    83 downloads

    Submitted

  20. moderator1983

    MSDN Link: GetDriveType function

    111 downloads

    Submitted

  21. Data Matrix Generator v1.0 LV2020

    This project library enables conversion from string data to a 2-D integer array encoding Data Matrix ECC200 symbology.  The library includes demo code to render the output to a LabVIEW picture indicator.

    30 downloads

    Submitted

  22. EXIF Reader 3.0.2.zip

    Reads EXIF data from image files.

    12 downloads

    Submitted

  23. EXIF Reader V3.0.1.zip

    Of course I had to break something in 3.0 (the help links) just before I submitted it.
    While I was at it, I reorganized the help a bit.  Also patched up the installer so it gets rid of old leftovers.

    8 downloads

    Submitted

  24. EXIF Reader - V1.0.zip

    This EXIF Reader contains VIs for reading EXIF metadata in image files.
    Most of the VIs are to be called as sub VIs, but some are intended to be used as top level VIs, and one can be used either way.
    This S/W can currently read EXIF data from .jpg, .mpo, and .png files; but this user extensible.
    Note however that there are no hooks in the S/W for parsing out data sets whose contents vary from brand to brand

    8 downloads

    Submitted

  25. EXIF Reader - V1.0.zip

    Fixed some bugs in the installer.
     
     
     
     
     
     
     
     
     
     
    fixed

    5 downloads

    Submitted




×
×
  • Create New...

Important Information

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