Go to Post We're all such geeks...not that's that a bad thing. - IMDWalrus [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 16-01-2011, 19:28
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Connection problem

Hi CD, we are having some connection problems...again. I have once came to resolve the problem as seen in this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=87873, but we upgraded everything to 2011 and using the old router, (will connect the new router tomorrow) and we got the same connection problems as posted below in the picutre. Please help, this is causing a lot of trouble because we are unable to deploy the code. We are trying to deploy the basic code they have provided. With a little change of things with, the aracde drive changed to holonomic cartestian drive.

Please help
Whcirobotics
Attached Files
File Type: doc Connection error.doc (390.5 KB, 23 views)
__________________
"A team back in training !"

Last edited by whcirobotics : 16-01-2011 at 19:30.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2011, 20:59
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,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: Connection problem

The first error could be similar to the problem you experienced before. Use the System Manager to see what your CPU usage is on the cRIO.

That second error just means LabVIEW already has the connection to the cRIO locked up usually by another project. Even though you stop a Run or even reboot the cRIO, a record of the connection is preserved by the project.

You can fix that by right-clicking in the Project Explorer window on "RT CompactRIO Target(10.xx.yy.02)" and choosing Disconnect.

You can also clear that up by closing the project. When you close the project that had the connection locked up you'll get a message asking if you really want to disconnect. That way you'll know which one was doing it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2011, 22:14
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,941
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Connection problem

We were able to get our robot driving with the new software and the new bridge, no router needed. But we plugged in the tether cable to load the robot code onto the robot.

I don't know if that's how it's supposed to be...but it seems to work.
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2011, 02:33
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Connection problem

Quote:
Originally Posted by squirrel View Post
We were able to get our robot driving with the new software and the new bridge, no router needed. But we plugged in the tether cable to load the robot code onto the robot.

I don't know if that's how it's supposed to be...but it seems to work.
That perfectly acceptable, but it's not necessary.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2011, 09:52
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,941
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Connection problem

From my experiences with networks over the years, it makes sense to me that you'd want to do something like loading code with a wired network. And you usually want to operate the robot with the wireless network.

But I'm weird.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2011, 10:05
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Re: Connection problem

@Mark
It is the direct code that comes with the default framework in Labview, so i doubt it is the same problem as before, but i will do the usuage thing and check after school at 3:05 and reply back

@squirrel
It makes sense to do it wired but the wire goes only so long. Althought both are good, wired or wireless, i cannot deploy the code using either way. :S
__________________
"A team back in training !"
Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2011, 10:37
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,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: Connection problem

Check the CPU usage first so you know what's happening there.

I assume that after you reimaged the cRIO with the 2011 v25 that you didn't download any robot code?
So there shouldn't be anything running on the cRIO and the CPU usage should be close to the bottom.

Does the timeout message stay up for a long time? It's normal to see it occasionally and it'll usually go away within 20 seconds or so.

Here is something else to try after school for the timeout error you're seeing:
  • Flip the NO-APP DIP switch on the cRIO and reboot it (reset button or cycle the power), then turn the NO-APP switch off again.
  • Then try the Run button.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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:24.

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