Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Smart Dashboard Stale buttons (http://www.chiefdelphi.com/forums/showthread.php?t=134852)

TarkanAl-Kazily 18-02-2015 13:17

Smart Dashboard Stale buttons
 
Hi,

We are trying to set up our main driver station with a view that will work for our competitions and are removing extra buttons and debug information that we don't want. However, whenever we delete them from the smart dashboard, they come back! The buttons we remove aren't in OI.java or anywhere else in our code, but they persist. The issue seems to be that we have stale data, and looking through the WPI help page we found this (http://wpilib.screenstepslive.com/s/...smartdashboard) page explaining how to fix it, but it isn't very descriptive. How do you restart both the robot and the smart dashboard at the same time? Does anyone know how to stop these buttons from resetting?

Thanks!

--Tarkan

notmattlythgoe 18-02-2015 13:19

Re: Smart Dashboard Stale buttons
 
Does it still persist after restarting the computer? We were having that issue, then magically the next meeting the buttons were gone.

TarkanAl-Kazily 18-02-2015 13:21

Re: Smart Dashboard Stale buttons
 
Thanks for the quick response!

I'm not sure actually. Next week we will be able to get our hands on the driver station and our test robot and we will try restarting the computer and seeing what that does.

Alan Anderson 18-02-2015 13:50

Re: Smart Dashboard Stale buttons
 
There isn't a provision in the NetworkTables support for a variable to be deleted. Once a client has picked up on a variable's existence, it will keep it around. The protocol will then replicate that variable to the server, and any other clients connected.

To remove a variable completely, all programs using it must be stopped. When they are restarted, only the currently created variables will appear.

TarkanAl-Kazily 18-02-2015 15:24

Re: Smart Dashboard Stale buttons
 
So when we turn both the robot and the smart dashboard on (no matter which order) it should only recreate the ones that are in the robot?

--Tarkan

slibert 18-02-2015 15:28

Re: Smart Dashboard Stale buttons
 
Quote:

Originally Posted by TarkanAl-Kazily (Post 1446519)
So when we turn both the robot and the smart dashboard on (no matter which order) it should only recreate the ones that are in the robot?

--Tarkan

I believe we found that the driver station itself also needs to be restarted, and then things are in synch.

Our habit when things change is to restart the smart dashboard and the driver station after any time when we change robot code that would modify or remove any items displayed on the smart dashboard.


All times are GMT -5. The time now is 01:50.

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