Go to Post I always mean what I say. I just don't always say what I mean. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 13-01-2013, 16:39
eaglesfan51520's Avatar
eaglesfan51520 eaglesfan51520 is offline
Lead Programming Mentor
AKA: Steve
FRC #1687
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2009
Location: US
Posts: 15
eaglesfan51520 is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2013, 20:20
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2013, 20:52
eaglesfan51520's Avatar
eaglesfan51520 eaglesfan51520 is offline
Lead Programming Mentor
AKA: Steve
FRC #1687
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2009
Location: US
Posts: 15
eaglesfan51520 is an unknown quantity at this point
Re: Resetting Live Window Variables

Thanks,
After looking over the WPILib briefly, it looked like it was something to due to NetworkTables.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2013, 19:13
eaglesfan51520's Avatar
eaglesfan51520 eaglesfan51520 is offline
Lead Programming Mentor
AKA: Steve
FRC #1687
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2009
Location: US
Posts: 15
eaglesfan51520 is an unknown quantity at this point
Re: Resetting Live Window Variables

How exactly do we reset the server. Is there an API call?
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2013, 19:15
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Resetting Live Window Variables

http://wpilib.screenstepslive.com/s/...smartdashboard
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2013, 20:13
eaglesfan51520's Avatar
eaglesfan51520 eaglesfan51520 is offline
Lead Programming Mentor
AKA: Steve
FRC #1687
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2009
Location: US
Posts: 15
eaglesfan51520 is an unknown quantity at this point
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?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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