View Single Post
  #6   Spotlight this post!  
Unread 04-03-2015, 16:52
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Custom Driver Station on the Field

Quote:
Originally Posted by Alan Anderson View Post
It could just be coincidence or a false pattern, but the common factors seem to be using LabVIEW robot code and connecting the Driver Station while the code is already running after a cold boot.
This description leads me to think it could be related to a fix jhersh provided to our team at Dallas. He can provide a better explanation then I can, but his description was roughly as follows:

In the below code, if the create listener VI fails (first VI), it does not attempt to recreate this listener and the connection never occurs.

Click image for larger version

Name:	Dashboard1.PNG
Views:	20
Size:	4.2 KB
ID:	18560

The fix is below. I'd paste it as a VI snippet, but the local variable makes it not as straight forward.

Click image for larger version

Name:	Dashboard2.PNG
Views:	24
Size:	7.8 KB
ID:	18561

In both the error cases there is a simple 100ms wait.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote