Go to Post If you have not had a positive experience in FIRST, please don't bring those that have down. - Jeff K. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2012, 15:33
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
No communication?

Alright. I am the tech officer for the Carroll County Robotics team. I am having a horrible time working on the programing this year. It mostly started when I reinstalled LabView for the newest version this year and had to install LabView real-time to our cRio. To do so I formated the cRio and set it up with the same settings as before when I got to it. I proceded to Install LabView Real-Time and work on the programing again. From the Computer we are working on I can see the actual cRio from the computer and i have the router set up to communicate. But im having no luck communicating with the actual robot and cRio. I have set up the computer with a hard wire set up from the computer to the cRio and deploy a code to the cRio with no avail. I am getting a error on the cRio program saying inconsistant IP and when I try and deploy a code to it it gives me an error telling me that it can't communicate with the cRio. I have changed the wires many times and used the crossover cable to try and work things out and have had no success. If anyone can help. I would greatly appreciate some tips.
  #2   Spotlight this post!  
Unread 21-02-2012, 16:30
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: No communication?

Quote:
Originally Posted by dokusou View Post
I am getting a error on the cRio program saying inconsistant IP and when I try and deploy a code to it it gives me an error telling me that it can't communicate with the cRio.
I don't recognize "inconsitant IP". Can you give us the actual text of the error, and tell us exactly what steps you take before you see it?
  #3   Spotlight this post!  
Unread 21-02-2012, 16:58
Hjelstrom's Avatar
Hjelstrom Hjelstrom is offline
Mentor
FRC #0987 (High Rollers)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2005
Location: Las Vegas
Posts: 148
Hjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond repute
Re: No communication?

Did you set your team number correctly? Someone at our practice on Saturday had a similar problem and they had a typo in their team number or in the ip address (I can find out exactly what the fix was later if this doesn't help).
  #4   Spotlight this post!  
Unread 21-02-2012, 18:16
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
Re: No communication?

Alright. i know i haven't misspelled our team number. and the error doesn't have a specific text. down at the bottom of the program it just simply says inconsistant IP.
  #5   Spotlight this post!  
Unread 21-02-2012, 22:52
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: No communication?

In what program do you see this message?

Please tell us exactly what you're doing, step by step, in as much detail as you can manage.
  #6   Spotlight this post!  
Unread 22-02-2012, 10:16
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
Re: No communication?

Ok so I formated the cRio and set up the ip adress for it using Measurement & Automation Explorer found in the national instruments. I followed the instructions to do so from this website: http://zone.ni.com/devzone/cda/tut/p/id/7191
When I plugged in the IP adress on Measurement & Automation Explorer i saved and refreshed the max on the cRio and Down at the bottom of the Measurement & Automation Explorer I have a message stating that i have inconsistant IP's. Im using a static IP adress and all the settings i remember.
  #7   Spotlight this post!  
Unread 22-02-2012, 10:59
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: No communication?

Quote:
Originally Posted by dokusou View Post
Ok so I formated the cRio and set up the ip adress for it using Measurement & Automation Explorer found in the national instruments.
You should not be using MAX.

To format the cRIO and load the proper files onto it for FRC, you need to use the 2012 FRC cRIO Imaging Tool. If you have applied the most recent updates, you will be able to choose the required v43 image. Follow the directions in the Getting Started document.

Last edited by Alan Anderson : 22-02-2012 at 11:02.
  #8   Spotlight this post!  
Unread 22-02-2012, 11:00
shawnz shawnz is offline
Flamewar Initiator
FRC #0907 (E. Y. Cybernetics)
Team Role: Programmer
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Toronto
Posts: 36
shawnz will become famous soon enough
Re: No communication?

Quote:
Originally Posted by dokusou View Post
Ok so I formated the cRio and set up the ip adress for it using Measurement & Automation Explorer found in the national instruments. I followed the instructions to do so from this website: http://zone.ni.com/devzone/cda/tut/p/id/7191
When I plugged in the IP adress on Measurement & Automation Explorer i saved and refreshed the max on the cRio and Down at the bottom of the Measurement & Automation Explorer I have a message stating that i have inconsistant IP's. Im using a static IP adress and all the settings i remember.
MAX is not the way to do it if you're trying to prepare a cRIO for competition use. Follow this FIRST-specific guide instead: http://www.usfirst.org/sites/default...ystem_RevA.pdf

(accessible via usfirst.org > FRC > game & season info > kit of parts > control system)
  #9   Spotlight this post!  
Unread 22-02-2012, 11:03
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
Re: No communication?

Ok, Thanks a lot. I'll try out using the cRio imaging tool next time we meet. thanks for the advice.
  #10   Spotlight this post!  
Unread 01-03-2012, 15:48
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
Re: No communication?

alright i have a even more serious problem, right now i can't connect to the crio at all. i can't set up any ip adresses and nothing is working and im getting rather stressed, please someone help.
  #11   Spotlight this post!  
Unread 01-03-2012, 15:56
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Question Re: No communication?

When using the cRIO Imaging Tool you should be directly connected to the cRIO. (If it is an 8-slot version, then make sure you are plugged into Port 1). The imaging tool should scan and find the cRIO and then tell you what it modules sees. Does that at least work?
__________________
  #12   Spotlight this post!  
Unread 01-03-2012, 16:05
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
Re: No communication?

nope. nothing at all.
  #13   Spotlight this post!  
Unread 01-03-2012, 16:08
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: No communication?

Do you have a 4-slot or an 8-slot cRIO? Are you sure it is getting power (ie. are the lights lighting)?

Did you set the IP address of the laptop you are using to image? Should be 10.32.72.5 (if is driverstation classmate) or 10.32.72.6 (if it is another programming laptop).
__________________

Last edited by MamaSpoldi : 01-03-2012 at 16:10. Reason: added another question
  #14   Spotlight this post!  
Unread 01-03-2012, 16:09
dokusou's Avatar
dokusou dokusou is offline
Registered User
FRC #3272
 
Join Date: Feb 2012
Location: Carrollton
Posts: 20
dokusou is an unknown quantity at this point
Re: No communication?

everything is working properly. it is a 8-slot cRio. everything is working fine. but when using max and the imaging tool nothing connects at all.

alright. i checked my ip adress and it is set to 10.32.72.6 my crio has a ip of 10.32.72.2 and a subnet mask of 255.255.0.0 and same for my computer.

Last edited by dokusou : 01-03-2012 at 16:15. Reason: added a statement
  #15   Spotlight this post!  
Unread 01-03-2012, 16:12
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: No communication?

What is your IP address set to?

You can look at specific instruction in the "How to Configure Your CompactRIO" section of this document:

http://www.usfirst.org/sites/default...20System_2.pdf
__________________
Closed Thread


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 01:34.

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