View Single Post
  #5   Spotlight this post!  
Unread 21-04-2015, 10:05
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Dashboard Values Not Get

The code that is in Begin is performing a write operation to the DB variable. The code in TeleOp is using a global variable instead. If you put the Begin code into TeleOp, I believe you will start to see the dashboard value track the DIO.

As mentioned, you may also want to modify the dashboard to bind a specific Boolean to the variable or read the DB variable and update an indicator. But the variable tab works independent of this.

Greg McKaskle
Reply With Quote