Go to Post As it stands your design defies physics (and breaks 1 of Karthik's 2 Golden Rules). - JesseK [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 29-04-2010, 17:08
davidc10 davidc10 is offline
Registered User
FRC #0423
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Pennsylvania
Posts: 20
davidc10 will become famous soon enough
Do you have an NI-RIO connection in MAX?

When I connect to our cRIO using MAX, the NI-RIO connection shows an error (-60040). I've tried several different laptops and all show the same error.

NI-RIO server is running on the laptops with firewall disabled (I tried a static port first).

Is this by NI design or am I missing something?

Thank you,
David
Reply With Quote
  #2   Spotlight this post!  
Unread 29-04-2010, 21:02
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,752
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: Do you have an NI-RIO connection in MAX?

I'm not sure where the error is showing up. Try looking up the error code using Help>>Explain Error. My installation doesn't show the error code as registered, so I can't offer much help.

Can you clarify where the error is showing up and under what circumstances?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 29-04-2010, 21:57
davidc10 davidc10 is offline
Registered User
FRC #0423
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Pennsylvania
Posts: 20
davidc10 will become famous soon enough
Re: Do you have an NI-RIO connection in MAX?

Greg,

Thanks for the reply. Unfortunately, there was a typo on the error code, it should be -63040, not -60040.

Here is a zip of two screenshots that show the situation.

David
Attached Files
File Type: zip attachments_2010_04_29.zip (329.0 KB, 22 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 29-04-2010, 22:45
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: Do you have an NI-RIO connection in MAX?

I think error -63040 usually means there's a networking problem. In addition to making sure there isn't a firewall active, you need to disable all the network connections except the one that's actually going to the cRIO. If you're using wired Ethernet, that means turn off the wireless (we also had a FireWire network connection showing that had to be disabled).
Reply With Quote
  #5   Spotlight this post!  
Unread 30-04-2010, 00:15
davidc10 davidc10 is offline
Registered User
FRC #0423
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Pennsylvania
Posts: 20
davidc10 will become famous soon enough
Re: Do you have an NI-RIO connection in MAX?

Alan,

Yes, -63040 is a network connection problem - kRIOStatusRPCConnectionError. I have read all I could find on this error, and tried all the suggested fixes - both from NI's site and the MAX help; and yet it persists.

Since even with this error I am able to deploy code and use the cRIO generally as intended (it runs the code, dashboard comm is good, ftp works), my question is this: Is this really an error, or is this just the way the system has been set up for FRC? When you connect to your cRIO thru MAX do you get the error too - or is it only me?

Thanks for your suggestion on disabling the wireless - I tried it right away, but without success.

David
Reply With Quote
  #6   Spotlight this post!  
Unread 30-04-2010, 22:00
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,846
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: Do you have an NI-RIO connection in MAX?

I get the same error in MAX.
It might be because our FRC cRIO doesn't provide traditional RIO device services.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 01-05-2010, 15:58
davidc10 davidc10 is offline
Registered User
FRC #0423
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Pennsylvania
Posts: 20
davidc10 will become famous soon enough
Re: Do you have an NI-RIO connection in MAX?

Mark,

Thank you for checking. When certain features don't work - (as they would on a standard system) - it's hard to tell if it's a problem or by FRC design.

Another example is Debugging a Stand-Alone Real-Time Application. I've never been able to get a connection to the cRIO to debug our code once it's been deployed as a start-up application. The connection is refused on the cRIO side.

I can do this on a PC that's set up as a Real-Time PC target, but not on the FRC cRIO. If this is by design also, (NI FRC support couldn't tell me at the time), it would be helpful to have documentation about it so as not to waste time trying to troubleshoot it.

Have you been able to get the Web Server up on the cRIO?

David
Reply With Quote
  #8   Spotlight this post!  
Unread 01-05-2010, 17:01
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: Do you have an NI-RIO connection in MAX?

Quote:
Originally Posted by davidc10 View Post
Thank you for checking. When certain features don't work - (as they would on a standard system) - it's hard to tell if it's a problem or by FRC design.
This is probably due to one of the several services we removed to free up resources that were being used on the controller that are typically unused in the FRC environment. For FRC, we essentially ignore the existance of MAX... you should too.

Quote:
Originally Posted by davidc10 View Post
Another example is Debugging a Stand-Alone Real-Time Application. I've never been able to get a connection to the cRIO to debug our code once it's been deployed as a start-up application. The connection is refused on the cRIO side.

I can do this on a PC that's set up as a Real-Time PC target, but not on the FRC cRIO. If this is by design also, (NI FRC support couldn't tell me at the time), it would be helpful to have documentation about it so as not to waste time trying to troubleshoot it.
We intended for this to work, but a bug crept in somewhere late in the game and we were unable to address it in time for Kickoff. I belive we intend to make it work for next year.

Quote:
Originally Posted by davidc10 View Post
Have you been able to get the Web Server up on the cRIO?
We had this installed and enabled on the controller during beta, but it was removed due to the resources it consumed. It was decided that there should be more available to the team code and libraries they might use. It did work well, though.

-Joe
Reply With Quote
  #9   Spotlight this post!  
Unread 02-05-2010, 21:31
davidc10 davidc10 is offline
Registered User
FRC #0423
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Pennsylvania
Posts: 20
davidc10 will become famous soon enough
Re: Do you have an NI-RIO connection in MAX?

I understand. Thank you Joe.

David
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
c-RIO connection troubles Sev C/C++ 30 08-12-2010 00:41
How do you download a program and have it saved to the c-rio 2560DawgDM NI LabVIEW 12 03-02-2010 20:58
Have You Attended Multiple High Schools? Do They Have FIRST Teams? KathieK General Forum 25 08-01-2009 02:16
I have questions! Do you have answers? c-squared_2006 Off-Season Events 2 07-04-2005 16:10
Do we have to use 3D studio max? archiver 2001 5 24-06-2002 02:16


All times are GMT -5. The time now is 17:00.

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