View Single Post
  #5   Spotlight this post!  
Unread 16-02-2011, 18:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Main vi help-urgent

When you deleted everything, you also deleted all the Inputs they represented that Teleop.vi starts out with.

You can put them back pretty easily, but you have to know what goes where.

You add inputs (and outputs) to a vi from its' front panel.
  • Open the Teleop front panel
  • In the upper-right corner you'll see the Teleop icon, right-click and choose "Show Connector"
  • You'll get a white box filled with tinier boxes, each one representing a possible input or output node
  • Click on one of the tiny boxes, then click on the element or cluster on the front panel that needs to be associated with it.
  • For instance, the bottom-most, left-most box should be associated with the error input cluster.
After you've added the required inputs back in, then go to Robot Main.vi and you will see the Teleop icon grayed out.
  • Right-click and choose "Relink SubVI"
  • Then you will be able to rewire the missing connections if they don't automatically reattach themselves
You can also create a new robot project, copy the Teleop.vi into your current project folder, replacing the corrupted one that's already there.
Then when you delete just avoid deleting the Error cluster, the Match Info, and the Call Context.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-02-2011 at 18:37.
Reply With Quote