Go to Post "The secret to success is to acknowledge that you have limits, but to never acknowledge that you have reached those limits." - lady_raidan [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 09-02-2014, 16:49
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
Re: Problem connecting to the CRIO

Quote:
Originally Posted by Zmarken View Post
Looking further through the that website, under "Diagnostics Tab", it says

So, a couple of things I can think of... Does the 44002 warning change between and anything else?
The radio signal flashes between good and bad. Also when we try to deploy code without rebooting the crio since the last attempt we get 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.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2014, 17:52
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2014, 18:25
Zmarken Zmarken is offline
Registered User
FRC #1716 (Redbird Robotics)
Team Role: Engineer
 
Join Date: Dec 2013
Rookie Year: 2012
Location: De Pere
Posts: 30
Zmarken is an unknown quantity at this point
Re: Problem connecting to the CRIO

Quote:
Originally Posted by silas13579 View Post
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.
If deploying directly through the cRIO is working, then I'm pretty sure it's a router issue.

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.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2014, 09:37
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: Problem connecting to the CRIO

Quote:
Originally Posted by silas13579 View Post
...When we try to deploy code without rebooting the crio since the last attempt we get this error: Access denied: Another project is using this target.
Rebooting the crio should work, but you'll have to redeploy your code. Are you trying to use more than one computer or robot project?

Quote:
The bridge config utility isn't working on our radio. It says login failed.
Have you tried resetting the radio fron the button in the back?
__________________
Per Audacia Ad Astra
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2014, 07:29
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-02-2014, 07:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
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: 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
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2014, 19:09
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 13-02-2014, 19:57
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
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: 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
Reply With Quote
  #9   Spotlight this post!  
Unread 13-02-2014, 20:06
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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."
Reply With Quote
  #10   Spotlight this post!  
Unread 13-02-2014, 20:12
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,795
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: 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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #11   Spotlight this post!  
Unread 14-02-2014, 07:34
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
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: 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
Reply With Quote
  #12   Spotlight this post!  
Unread 14-02-2014, 18:08
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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.
Reply With Quote
  #13   Spotlight this post!  
Unread 14-02-2014, 18:10
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,795
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: 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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #14   Spotlight this post!  
Unread 15-02-2014, 10:57
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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.
Reply With Quote
  #15   Spotlight this post!  
Unread 15-02-2014, 12:54
silas13579 silas13579 is offline
Registered User
FRC #2337
 
Join Date: Mar 2013
Location: Grand Blanc
Posts: 13
silas13579 is an unknown quantity at this point
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.
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 09:57.

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