|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
|||||
|
|||||
|
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.
|
|
#3
|
||||
|
||||
|
Re: Resetting Live Window Variables
Thanks,
After looking over the WPILib briefly, it looked like it was something to due to NetworkTables. |
|
#4
|
||||
|
||||
|
Re: Resetting Live Window Variables
How exactly do we reset the server. Is there an API call?
|
|
#5
|
|||
|
|||
|
Re: Resetting Live Window Variables
|
|
#6
|
||||
|
||||
|
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?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|