Go to Post Our robot throws custom $5.50 FIRST Frisbees at a rate of 75 discs per minute and a speed of ~32 feet per second. It costs over $80 to feed our robot for 12 seconds. - Woolly [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
  #1   Spotlight this post!  
Unread 15-01-2015, 19:50
Team3220's Avatar
Team3220 Team3220 is offline
Mechanic of Mayhem
FRC #3220 (Mechanics of Mayhem)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Washington
Posts: 21
Team3220 is an unknown quantity at this point
Exclamation FRC roboRIO connection issue/code deployment issue

We are trying to deploy/run code. The Driver's Station is registering that we have communications/joystick but no robot code. We can only connect to the roboRIO via USB (not ethernet) for some reason, and when we deploy code from LabView, the Driver's Station doesn't register that we have robot code. What should we do?
Attached Thumbnails
Click image for larger version

Name:	Deployment.PNG
Views:	104
Size:	57.2 KB
ID:	17857  Click image for larger version

Name:	DS.PNG
Views:	73
Size:	24.3 KB
ID:	17858  
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2015, 20:10
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: FRC roboRIO connection issue/code deployment issue

Could you confirm that when you're trying to use ethernet, your both connecting to the DLink?

Could you also post the output of "ipconfig" when you're connected via ethernet?
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2015, 21:31
Grif Grif is offline
Registered User
AKA: Michael Griffin
no team
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Sydney, Australia
Posts: 2
Grif is an unknown quantity at this point
Re: FRC roboRIO connection issue/code deployment issue

Hi Team3220

Just a quick question. Are you running the code locally on your computer or are you building it for the RoboRio? There are actually 2 ways to run labview code.

The first is to run the code by pressing the play button on the VI editor. This does not compile the program, this just runs it (if that makes sense). There will be a deploy screen open when this happens but no code is actually loaded onto the RoboRio (well at least that was the case for the CRio).

This would explain what your seeing.

The second is to build the code. This is done by navigating to the build tab in the project window. See the image bellow, you can see what i'm talking about right at the bottom. This actually builds the project and then loads it onto the RoboRio.



You must do the second option for loading code onto the RoboRio for competition (again this is from past year experience with the CRio but I don't think that has changed much).

Hope this helps.

Grif
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2015, 21:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,713
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: FRC roboRIO connection issue/code deployment issue

You can also check in the RoboRIO Webdashboard to make sure that "Disable RT Startup App" is NOT checked.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2015, 08:00
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: FRC roboRIO connection issue/code deployment issue

The Robot Code LED is based on calls inside of the framework. Are you using this years code template?

Also, the code has been deployed, but I don't believe it is actually running until you close the dialog. You've done that right?

Once the code is running, in debug mode, can you open up panels and see that Robot Main is running?

Greg McKaskle
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 08:02.

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