Go to Post FIRST like life is what you make of it, if you would rather go through FIRST worrying about what other teams do to make their robots, then your destined for disappointment. if you go through FIRST making the most of it doing the best you and your team can then it doesn't matter what other teams do. - Mike Schroeder [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-12-2016, 19:55
rod@3711 rod@3711 is offline
Registered User
AKA: rod nelson
FRC #3711 (Iron Mustangs)
Team Role: Mentor
 
Join Date: May 2014
Rookie Year: 2014
Location: Trout Lake, WA
Posts: 64
rod@3711 is an unknown quantity at this point
Blank Smart Dashboard

We use Robot Builder and Smart Dashboard a lot. One of our PC's has decided to display a blank Smart Dashboard screen (see captureBAD.png file), while the other 2 PC's act as expected (see captureOK.png file).

We have tried all of our tricks. Mainly we will delete the smartdashboard.xml file when Smart Dashboard behaves badly.

We have had lots of new helpers, so I have no idea what may have been done to cause this.
Attached Thumbnails
Click image for larger version

Name:	CaptureBAD.PNG
Views:	17
Size:	203.4 KB
ID:	21316  Click image for larger version

Name:	CaptureOK.PNG
Views:	16
Size:	59.8 KB
ID:	21317  
Reply With Quote
  #2   Spotlight this post!  
Unread 01-12-2016, 20:47
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester
Posts: 79
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Blank Smart Dashboard

Can you try adding a connection indicator?

View -> Add... -> Connection Indicator
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 02-12-2016, 10:14
rod@3711 rod@3711 is offline
Registered User
AKA: rod nelson
FRC #3711 (Iron Mustangs)
Team Role: Mentor
 
Join Date: May 2014
Rookie Year: 2014
Location: Trout Lake, WA
Posts: 64
rod@3711 is an unknown quantity at this point
Re: Blank Smart Dashboard

I had tried the connection indicator and it stayed RED. I tried assigning a different team number, then reassigning 3711. It stayed the same. I finally gave up and went home.

This morning, I restarted both roborio and PC and it worked. A little dissatisfying, since we had done that multiple times yesterday.

I will write this off to a flakey PC.

One followup on Smart Dashboard. This is a repeat question from last year. If we delete smartdashboard.xml and start smart dashboard, the non-test mode buttons and indicators spread out randomly, while the test mode widgets stack on one another. When we edit and rearrange the buttons and widgets, everything is ok. If we save the layout either via SAVE or by saving upon exit, the next time we start smart dashboard. the new layouts are saved and non-test mode indicators look ok, but the test mode widgets are mostly blank. To get past this we usually delete smartdashboard.xml when we want to use test mode.

I am a strong advocate of Robot Builder and Smart Dashboard for getting rookie programmers started, but I lose credibility when so many unexplainable things happen.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-12-2016, 10:30
rod@3711 rod@3711 is offline
Registered User
AKA: rod nelson
FRC #3711 (Iron Mustangs)
Team Role: Mentor
 
Join Date: May 2014
Rookie Year: 2014
Location: Trout Lake, WA
Posts: 64
rod@3711 is an unknown quantity at this point
Re: Blank Smart Dashboard

Hold on. I got excited when the bad PC finally showed a populated Smart Dashboard.

But now I realize the it reverted to old ways. If I exit Smart Dashboard and restart, the window is again blank. Went thru sequence several times and realize that putting the PC to Sleep is what fixed it.

I vaguely remember another thread that mentioned putting PC to Sleep solved a Smart Dashboard issue. I will do some more searching.

thanx
Reply With Quote
  #5   Spotlight this post!  
Unread 02-12-2016, 11:00
AustinShalit's Avatar
AustinShalit AustinShalit is offline
Registered User
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester
Posts: 79
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Blank Smart Dashboard

Quote:
If we save the layout either via SAVE or by saving upon exit, the next time we start smart dashboard. the new layouts are saved and non-test mode indicators look ok, but the test mode widgets are mostly blank.
Can you please post a screenshot of the mostly blank widgets?



You might want to try setting static ip addresses for your devices. Take a look at this document for more information:

https://wpilib.screenstepslive.com/s...g-at-the-event
__________________
Reply With Quote
  #6   Spotlight this post!  
Unread 02-12-2016, 11:26
rod@3711 rod@3711 is offline
Registered User
AKA: rod nelson
FRC #3711 (Iron Mustangs)
Team Role: Mentor
 
Join Date: May 2014
Rookie Year: 2014
Location: Trout Lake, WA
Posts: 64
rod@3711 is an unknown quantity at this point
Re: Blank Smart Dashboard

The OK image below shows the testmode widgets after Smart Dashboard was started without smartdashboard.xml.

I exited Smart Dashboard and Saved layout.

The BAD image shows the blank widgets in test mode. It preserved the layout, but no data. This has plagued us for over 1 year.

I will play with static IP addresses.
Attached Thumbnails
Click image for larger version

Name:	Capture testmode OK.PNG
Views:	13
Size:	33.7 KB
ID:	21321  Click image for larger version

Name:	Capture testmode BAD.PNG
Views:	14
Size:	30.6 KB
ID:	21322  
Reply With Quote
  #7   Spotlight this post!  
Unread 02-12-2016, 11:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,683
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Blank Smart Dashboard

When you get into the unpopulated Dashboard state.
Try just pushing the roboRIO built-in Reset button to see if restarting the server helps.
Don't touch or restart anything else.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-12-2016 at 11:39.
Reply With Quote
  #8   Spotlight this post!  
Unread 02-12-2016, 11:50
rod@3711 rod@3711 is offline
Registered User
AKA: rod nelson
FRC #3711 (Iron Mustangs)
Team Role: Mentor
 
Join Date: May 2014
Rookie Year: 2014
Location: Trout Lake, WA
Posts: 64
rod@3711 is an unknown quantity at this point
Re: Blank Smart Dashboard

One issue kinda figured out. The blank Smart Dashboard upon restart is related to the network configuration.

I have been testing using a USB cable. On all 3 PC's the wireless was still enabled. If I disabled the wireless on the BAD PC (Win 7), the Smart Dashboard came up as expected.

This may explain why this PC gave us issues at events last year. Most likely the wireless was enabled, when we were tethered via ethernet or USB. We solved it last year by buying a new Win10 computer.

This did not resolve the issue of Blank Widgets on Test Mode window.
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 09:54.

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