Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   RoboRIO requires imaging prior to each deploy (http://www.chiefdelphi.com/forums/showthread.php?t=133619)

TBots 28-01-2015 16:35

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.

ozrien 28-01-2015 17:05

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.

wt200999 28-01-2015 17:10

Re: RoboRIO requires imaging prior to each deploy
 
Do you see the same issue if you just press "Run" from Robot Main.vi?

TBots 28-01-2015 17:35

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

Mark McLeod 28-01-2015 17:49

Re: RoboRIO requires imaging prior to each deploy
 
Quote:

Originally Posted by TBots (Post 1435328)
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

SuperBK 29-01-2015 14:00

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.

TBots 02-02-2015 17:24

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!

Ben Wolsieffer 02-02-2015 17:54

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.

Alan Anderson 02-02-2015 18:00

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?

Ro13star 08-02-2015 20:33

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?.


All times are GMT -5. The time now is 08:56.

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