|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Problem connecting to the CRIO
Quote:
|
|
#2
|
|||
|
|||
|
Re: Problem connecting to the CRIO
So far, connecting directly to the CRIO actually has been working, so we're just going off of that right now. The bridge config utility isn't working on our radio. It says login failed.
|
|
#3
|
|||
|
|||
|
Re: Problem connecting to the CRIO
Quote:
I'd say you should do a factory reset of the router, then go through the Bridge Configuration tool again. If you're using the router in the KoP, reset it by holding down the reset button in the back of the router for ~10 seconds. Try that, and see what your results are. |
|
#4
|
||||
|
||||
|
Re: Problem connecting to the CRIO
Quote:
Quote:
|
|
#5
|
|||
|
|||
|
Re: Problem connecting to the CRIO
We have tried the reset button, however it is not working. Also, connecting to the CRIO directly failed yesterday. Towards the end of deploy, when it's mostly through our global variables library, it stops.
|
|
#6
|
|||
|
|||
|
Re: Problem connecting to the CRIO
When it stops, there is typically a dialog on the screen explaining what succeeded and what failed. Can you copy/paste or take a screenshot so that we can help interpret what failed?
Greg McKaskle |
|
#7
|
|||
|
|||
|
Re: Problem connecting to the CRIO
The only response we get is when we are trying to connect, it will say Waiting for response from Real time Target (I forget the exact wording). When we reimage the Crio, or at the beginning of meetings, is when it seems to work the most often. Our head mentor (we don't have any actual programming mentors) said that maybe our code bugs up the CRIO image when it deploys? Also, though our electrical team said it should be irrelevant, the analog card(I think. It's whatever shows the voltage) is not in the CRIO.
|
|
#8
|
|||
|
|||
|
Re: Problem connecting to the CRIO
The HW team is correct. The DS voltage will be incorrect, and you will need the module and breakout and jumper in order to pass inspection, but you don't need it right now.
My suspicion is that you have a great deal of Diagnostic errors being reported at the DS. If you can change the mode of the robot at the DS, you may find that one of the modes produces less errors and will have a better shot of deploying. If you fix the code issues that are causing the errors, the deploy issue will go away. Also, you do not need to reimage the cRIO -- almost ever. Teams do this all the time, and I'm not sure why. The file system is very robust, and if not corrupt, why do it? You may sometimes need to turn on a setting such as the no-app switch or change the CAN or other settings. Greg McKaskle |
|
#9
|
|||
|
|||
|
Re: Problem connecting to the CRIO
Well the reimaging of the CRIO seemed to help. We just tried deploying a default robot project, and the CRIO was still not accepting it. Then we switched to our practice bot, with a different CRIO and a different ethernet and tried deploying our code, which didn't work, and then tried deploying a default project onto that, and that too did not work. They both were stuck in the same "waiting for the target (RT CompactRIO target) to respond."
|
|
#10
|
|||||
|
|||||
|
Re: Problem connecting to the CRIO
Reimaging the cRIO works (in a brute force kind of way), because as a side effect it wipes out your user code that is responsible for the problem.
The No App switch (a DIP switch on the 8-slot or for the 4-slot virtual through the cRIO Imaging Tool) disables your user code when the cRIO is reset and is quicker. |
|
#11
|
|||
|
|||
|
Re: Problem connecting to the CRIO
Exactly. And once the errors on the diagnostic screen are fixed, neither will be necessary. Until they are fixed, don't Run as Startup, use the run button instead.
Greg McKaskle |
|
#12
|
|||
|
|||
|
Re: Problem connecting to the CRIO
Alright so I'm getting confused now. What is the diagnostics screen? The part of the driver station? Because I'm not sure how it may be in our code, seeing as the default robot project didn't deploy either.
|
|
#13
|
|||||
|
|||||
|
Re: Problem connecting to the CRIO
It's not the code you are deploying. It's the code already running on the cRIO from the previous deploy.
The Diagnostics tab on the Driver Station has a message window. There are a lot of warnings that can obscure the real error messages, so copying and pasting all of them into a text file makes them a lot easier to look through. You can also look at the Driver Station log from the Charts tab, in the lower right is "Launch Viewer." You have to pick the latest log or two by date, then look at the Event List tab for error messages. |
|
#14
|
|||
|
|||
|
Re: Problem connecting to the CRIO
I'm pretty sure I found the error. We were kind of recycling last years code, and last year they had nothing in finish.vi, so this year we assumed that we could go the same. Would this have been causing the problem? I'm in the middle of fixing it right now, so I can update with whether it works.
|
|
#15
|
|||
|
|||
|
Re: Problem connecting to the CRIO
Nope never mind it's still not working. We have tested deploying quite a bit today, and it seems to work after we flash it until the first time we perma deploy onto the robot, which then causes every attempt after that first perma deploy to fail, until we flash it again. It also occasionally gives this error: Access denied: Another project is using this target. You must disconnect the existing project from the target or restart the target before establishing a new connection. Note: The existing project may be running on a different host computer.
Last edited by silas13579 : 15-02-2014 at 12:58. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|