Log in

View Full Version : Resetting Live Window Variables


eaglesfan51520
13-01-2013, 16:39
We have been testing out the Live Window, SmartDashboard and Robot Builder. We have multiple people testing out their own projects. When we run different code the Live Window Data from the other person is still there but nonfunctional. When we click Reset Live Window or Ctrl-R it does not go away. The only way it went away was manually deleting it using the editable SmartDashboard. We have tried creating new SmartDashboards but the old live windows still exist. How do we prevent the old live windows from being shown when we want the current live window to show.

Alan Anderson
13-01-2013, 20:20
The underlying NetworkTables implementation works by replicating each variable to every client. After a variable is created by a client, it remains in the system even if that client goes away. I think the only reliable way to remove it is to reset the server.

eaglesfan51520
13-01-2013, 20:52
Thanks,
After looking over the WPILib briefly, it looked like it was something to due to NetworkTables.

eaglesfan51520
14-01-2013, 19:13
How exactly do we reset the server. Is there an API call?

RufflesRidge
14-01-2013, 19:15
http://wpilib.screenstepslive.com/s/3120/m/7932/l/91065-stale-data-and-smartdashboard

eaglesfan51520
14-01-2013, 20:13
It says that a variable can be deleted. We have SmartDashboard variables that we have not used since Yesterday still appear. How do we delete the variable from the network tables?