Category

Archive for the 'LabVIEW Tips' Category

Customizing the LabVIEW Palettes is (Ridiculously) Hard

( LabVIEW and LabVIEW Tips and JKI and Rants and VIPM )
Have you ever tried editing the LabVIEW palettes in order to integrate your reusable VIs into LabVIEW?  If you have then you've undoubtedly experienced the frustration of finding your VIs missing from your custom palettes, at some point. Maybe you didn't realize one of the following facts about *.mnu files: Tip: you can skip over this list, because it's probably completely [...]

The Diagram Disable Structure causes bugs

( LabVIEW and LabVIEW Tips and Rants )
One LabVIEW features that I both love and hate is the Diagram Disable Structure.  I love the fact that you can comment out code, especially broken or stub (unfinished) code.  However, I hate the fact that output tunnels of the Diagram Disable Structure are set to "Use Default if Unwired", because it causes buggy code.  Here's an example... Let's say that we [...]

In Place Element Strucure - Saves Time and Prevents Bugs

The designers of LabVIEW added a new function to LabVIEW 8.5 called the In Place Element Structure . The idea behind this structure is that it allows memory efficient operations on sub-elements of compound data structures like Clusters, Arrays, Variants, and Waveforms. However, it also [...]

Functional Globals in LabVIEW 8.5 - No Loop, No Joke

( LabVIEW and LabVIEW Tips and LAVA )

As an April fools day joke this year, I posted a VI on LAVA that shows an implementation of a Functional Global that appears to not have any While Loop or For Loop around the Feedback Node. This trick was accomplished by making the While Loop very large (extending beyond the visible region of the […]

LabVIEW tip: easy unit conversion

Recently, I wrote a short article on easy relative timestamp calculations, showing how to use LabVIEW’s built in units feature to easily add relative times to timestamps. Now, I want to show you another very useful technique that every LabVIEW developer should know — how to harness the built-in unit conversion capabilities of LabVIEW […]

LabVIEW tip: easy relative timestamp calculations

Have you ever wanted to add relative time to a time stamp data type in LabVIEW? You can easily do this by adding a floating point to the time stamp, as shown below.

The units are in seconds and, as you can see, Time Stamp out is one second greater than Time Stamp (in) as […]