View Single Post
  #2   Spotlight this post!  
Unread 15-02-2015, 13:21
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,112
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: Custom Dashboard

If you put unwired indicators in the Custom or Basic tab, they will be connected automatically as SmartDashboard variables. Anywhere outside those tabs will require you to wire something to set their values explicitly.

LabVIEW code placed outside the loops will run once when the Dashboard starts. If you want it to run repeatedly, put it inside a loop. Depending on exactly what it's doing, you might find it reasonable to put it in the True case of the top loop, or you might create another loop just for your code.
Reply With Quote