View Single Post
  #3   Spotlight this post!  
Unread 12-08-2013, 01:01
John Sabath's Avatar
John Sabath John Sabath is offline
LabVIEW Software Developer
FRC #3792 (The Army Ants)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Columbia, MO
Posts: 53
John Sabath is a splendid one to beholdJohn Sabath is a splendid one to beholdJohn Sabath is a splendid one to beholdJohn Sabath is a splendid one to beholdJohn Sabath is a splendid one to beholdJohn Sabath is a splendid one to beholdJohn Sabath is a splendid one to beholdJohn Sabath is a splendid one to behold
Re: Flat sequence in Begin.vi

An image of the Begin.vi for reference

In the very first frame of the sequence structure they are initializing variables that will be used in the frames following. The first frame MUST finish executing completely before moving down the line, so they're avoiding potential race conditions with the variable assignment.

This entire VI could have been condensed into a two frame sequence structure (like so) and wouldn't have affected the end result. The reason that they split the sequence structure up further was for readability. Which in a graphical programming language like LabVIEW, goes a long way.
__________________
Freshman at Missouri S&T ( Computer Science )

FRC 3792 (The Army Ants) from 2012-2013