View Single Post
  #28   Spotlight this post!  
Unread 22-11-2012, 16:18
Priyesh69 Priyesh69 is offline
Registered User
FRC #3988
 
Join Date: Nov 2012
Location: montreal
Posts: 46
Priyesh69 is an unknown quantity at this point
Re: paper: LabVIEW Mecanum Programming

Quote:
Originally Posted by Alan Anderson View Post
It's not exactly obvious how to place a reference to an existing global variable. Here's how to do it:

Right-click on an empty spot in the block diagram to call up the function palette. Choose "Select a vi..." and navigate to the folder containing your robot project. Open "Robot Global Data.vi" and you'll have a global variable attached to your cursor (it will likely be named "Enable Vision" -- don't worry about it). Click to place that variable on the block diagram. Now you can click on the middle of the variable to bring up a list of all the globals that are part of the Robot Global Data vi. Choose the one you want.

The default is to make a "write" reference. To change it to "read", right-click on the variable and choose "Change To Read".
I dont get how we do the stuff for the 9th slide, I mean i can't do ctrlE on the Gobal robot data. I'm accessing it by the projet explorer. I can acces the front panel but not the block diagram

Last edited by Priyesh69 : 22-11-2012 at 16:22.
Reply With Quote