LabVIEW Blog - Part 1 It's All About Timing

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,965
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 19, 2008

In this entry, I discuss what is often one of the most challenging issues in programming with LabVIEW: Timing.

Speaking from personal experience, problems with timing are among the most common sources of bugs for new LabVIEW programmers. I often hear complaints along the lines of: "I get this weird behavior, but when I run with Execution Highlighting turned on, it always works." Or, "I have to run my VI twice in order to get everything to initialize properly."

These are usually symptoms of timing issues which can be very difficult to debug. Good practices, and carefully watching your dataflow for unintended parallelism are the only real solutions to developing good, trustworthy code.

In this blog entry, I touch on these issues, and also spend time discussing another aspect of timing within LabVIEW: measuring and adding delays within your LabVIEW code, using:
Tick Count (ms)
Wait (ms)
Wait until next ms multiple
The OpenG Enhanced Timing Functions

As always, please feel free to add your comments below.

Ben Zimmer
-- LV Mastery Team

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • oh well i always got confused with the timing so this should be interesting

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more