Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Resetting Live Window Variables (http://www.chiefdelphi.com/forums/showthread.php?t=111159)

eaglesfan51520 13-01-2013 16:39

Resetting Live Window Variables
 
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

Re: Resetting Live Window Variables
 
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

Re: Resetting Live Window Variables
 
Thanks,
After looking over the WPILib briefly, it looked like it was something to due to NetworkTables.

eaglesfan51520 14-01-2013 19:13

Re: Resetting Live Window Variables
 
How exactly do we reset the server. Is there an API call?

RufflesRidge 14-01-2013 19:15

Re: Resetting Live Window Variables
 
http://wpilib.screenstepslive.com/s/...smartdashboard

eaglesfan51520 14-01-2013 20:13

Re: Resetting Live Window Variables
 
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?


All times are GMT -5. The time now is 14:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi