View Single Post
  #15   Spotlight this post!  
Unread 11-02-2012, 01:17
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: Sending Data from Dashboard to Robot?

Quote:
Originally Posted by Wildcats1378 View Post
The value going to the variable is indeed correct, but whenever I try to pass the data from Periodic Tasks (where I got it) to Teleop (where it needs to be); the wire probed always returns the value as 0. I'm not too sure how to get the data where it needs to go.
Just in case you're trying to add a wire out of Periodic Tasks and into Teleop: that won't work. Periodic Tasks never terminates, so it will never provide an output value. To communicate between one vi and another you can use a global variable, or you can do fancier stuff with semaphores or notifiers or queues or etc.
Reply With Quote