View Single Post
  #35   Spotlight this post!  
Unread 28-01-2013, 11:30
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: General LabVIEW questions from a VERY new user

Quote:
Originally Posted by ctccromer View Post
I still can't find Stop or Mechanism Op. (tried going to global data.vi file but ctrl+e didnt bring up a block diagram and I couldn't figure out how to get it from the right click menus). What kind of vi is Stop?
The Robot Global Data vi only has a front panel. There is no associated block diagram. Global variables are just controls on the vi's front panel. When you want to create a new global variable, just place a control of the appropriate type there. "Mechanism Op." is a global variable that Greg created for the example. "Stop" and "Go" are values of an enumerated data type that he created to make it easier to read the intent of the values. You can just use a boolean with values of True and False if you don't want to dive into enumerated types yet.

http://www.fightingpi.org/Resources/...20Tutorial.pdf has some tutorial information about using global variables at the end of the document.
Reply With Quote