I couldn’t live without the “OpenG Time Tools”

Posted on Wednesday 18 April 2007

This is the seventh article of “The OpenG VIs that I couldn’t live without“, a series of articles showing some of my favorite OpenG VIs. In this article, I’m going to show a very useful set of VIs, the OpenG Time Tools, a set of timing VIs with error handling.

OpenG Time Tools Palette

Let’s take a look at one of the VIs. As you can see, below, the OpenG Wait (ms) function has an error in input and an error out output.

Wait (ms) - OpenG

In the simple example, shown below, you can see how we are able to insert a wait between execution of two tasks by chaining (wiring in a sequence) the error cluster wiring between the three VIs.


This is not possible, using LabVIEW’s built-in Wait (ms) function, shown below, which has no error input or output.

Wait (ms) - NI

One other thing that we did not yet mention, is that the OpenG Wait (ms) function has an input called “Wait on Error” that defaults to FALSE. This means that we can choose whether or not we want to wait, if an error occurs upstream — generally, we will not want to wait, if an error occurs.

If you want to give this VI a try, you can obtain it using VI Package Manager (VIPM). Simply select the OpenG Time Library (the oglib_time package from within VIPM), you will find the OpenG Time Tools palette in the Functions palette under the OpenG submenu. (See here for a quick guide on how to install OpenG on VIPM.)

1 Comment for 'I couldn’t live without the “OpenG Time Tools”'

    Michael Ashe
    May 18, 2007 | 8:20 am

    I also find the “Abort Wait on Occurence” extremely useful on occasion.

Leave a comment



Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.

RSS feed for comments on this post |


Bad Behavior has blocked 778 access attempts in the last 7 days.