View Single Post
  #4   Spotlight this post!  
Unread 25-01-2013, 11:42
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Not able to read DS Indicators

Quote:
Originally Posted by Greg McKaskle View Post
Did you update the dashboard to bind the controls in the Camera Tracking tab?

The dashboard binding pushes user initiated value changes to the robot and it updates controls and indicators when a SmartDashboard value comes in.

By default, programmatic updates to indicators and controls will not trigger an event. This is to avoid cycles and side-effects.

The way I was recommending is to add a SmartDashboard write of double to the place you are updating distance. Explicitly update the variable when you update the indicator.

Greg McKaskle
So if I understand correctly, you want me to write to the indicator in the Dashboard using a SD Write Double Bool.vi, then read from the indicator with the SD Read Double Bool.vi, instead of directly trying to read from the indicator on the Dashboard?

Will this update the variable when I update the indicator, as you say?
__________________

CTO/Head Programmer of Team 1710

Reply With Quote