Go to Post So remember, we may be envious of teams who can do water jet cutting and has every possible monetary and engineering advantage, but there are many more people who are envious of every team who has a chance to compete. - Rombus [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2015, 16:35
TBots TBots is offline
Registered User
FRC #3350
 
Join Date: Sep 2014
Location: Texarkana
Posts: 39
TBots is an unknown quantity at this point
RoboRIO requires imaging prior to each deploy

We have been having issues deploying code to our roboRIO. Ever time we try to deploy code as start up, we get an issue saying the target cannot be found. However, when we reformat the roboRIO prior to the deploy it works correctly. It takes about 7 minutes each time we reformat the RIO and is causing quite a hassle to do this each time. If anyone could help us understand why this is occurring, that would be fantastic

We are using lab view.
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2015, 17:05
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: RoboRIO requires imaging prior to each deploy

Is that true even with a newly created default LabVIEW project. That test would at least rule out anything in your robot logic, or narrow it down to something with your robot app.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2015, 17:10
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: RoboRIO requires imaging prior to each deploy

Do you see the same issue if you just press "Run" from Robot Main.vi?
__________________
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
  #4   Spotlight this post!  
Unread 28-01-2015, 17:35
TBots TBots is offline
Registered User
FRC #3350
 
Join Date: Sep 2014
Location: Texarkana
Posts: 39
TBots is an unknown quantity at this point
Re: RoboRIO requires imaging prior to each deploy

Neither of those deploy correctly. We still get the same error that the target can not be found.

I don't know whether this contributes to the reason it isn't working, but every time we create a new roboRIO project in Labview, it does not build correctly unless we delete the visual processing VI. It appears to have missing and broken VIs dealing with the camerea
Reply With Quote
  #5   Spotlight this post!  
Unread 28-01-2015, 17:49
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,833
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: RoboRIO requires imaging prior to each deploy

Quote:
Originally Posted by TBots View Post
I don't know whether this contributes to the reason it isn't working, but every time we create a new roboRIO project in Labview, it does not build correctly unless we delete the visual processing VI. It appears to have missing and broken VIs dealing with the camera
It's unrelated to your target problem.
That's probably due to the Vision license not being activated properly.
See if this post helps with that problem.

For the deploy problem could it be related to this issue?
Are the symptoms similar?
Waiting for Target to Respond - Recovering from bad loops
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 29-01-2015, 14:00
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: RoboRIO requires imaging prior to each deploy

I don't know about the Labview deploy (we use C++), but it sounds like the computer running cannot resolve the ip address for the roborio. Some ideas:
- have you tried usb and Ethernet?
- have you waited awhile so that the mDNS responses might work?
- did you try a different computer? The driver station image comes with Labview.
- can you ping the roborio? Can you log into its console with ssh or ftp?
- try looking in the router setup and get the ip address of the robo-rio. As a hack, you could try putting that in the hosts file on your pc for roborio-team.local. Note this is a total hack and not recommended to leave in. Back out the change after trying it.
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #7   Spotlight this post!  
Unread 02-02-2015, 17:24
TBots TBots is offline
Registered User
FRC #3350
 
Join Date: Sep 2014
Location: Texarkana
Posts: 39
TBots is an unknown quantity at this point
Re: RoboRIO requires imaging prior to each deploy

Thank you for all of the suggestions! It turns out it was actually a very simple problem. We were trying to deploy our code via Ethernet cable through the D-LINK, when we should of been using an USB A to USB B cable to deploy code directly to the roboRIO! This is why it appeared that the roboRIO had to be re-imaged each time, when it reality all we had to do was connect the cord. Again, thank you for the all the help!
Reply With Quote
  #8   Spotlight this post!  
Unread 02-02-2015, 17:54
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: RoboRIO requires imaging prior to each deploy

You should be able to deploy your code through ethernet and the D-Link; it looks like you have some other problem.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #9   Spotlight this post!  
Unread 02-02-2015, 18:00
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,113
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: RoboRIO requires imaging prior to each deploy

What is the target address (in parentheses) on the Real-Time Target line in your LabVIEW project?
Reply With Quote
  #10   Spotlight this post!  
Unread 08-02-2015, 20:33
Ro13star Ro13star is offline
Registered User
FRC #0832
 
Join Date: Apr 2012
Location: roswell
Posts: 3
Ro13star is an unknown quantity at this point
Re: RoboRIO requires imaging prior to each deploy

We are having the same problem. I temp fixed it for the "run" option by disabling startup rt and fpga in Web dash. I saw a more advanced error message saying a component encountered an unexpected error and had to restart. I heard something about using the "clean" option before deploying but I'm not sure if that applies to LabVIEW?.
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 20:16.

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