Go to Post Raw students in, pure engineers out. - ebarker [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 17-01-2013, 10:04
integr8 integr8 is offline
Registered User
FRC #1307
 
Join Date: Jan 2013
Location: New Hampshire
Posts: 7
integr8 is an unknown quantity at this point
cRIO connection issue-can't deploy code

We are using labview to program our robot and our code looks like it works and no issues are detected when we build the code, but when we try to deploy the code the dialogue box comes up and says:

>>Initializing...
>>Calculating Dependencies...
>>Checking items for conflicts. This operation could take a while...
>>Waiting for Real-Time target (RT CompactRIO Target) to respond

At this point a new box comes up with this error:
>>Failed to connect to real time target
and gives me only one option to cancel.
When I do it says:

>>Current Operation Cancelled

I don't know what the problem is though. We've tried doing something with the network, but when we ping the ip of the cRIO it says that it's connected. We also don't believe it is a hardware issue so any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2013, 10:14
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: cRIO connection issue-can't deploy code

Have you verified that you have the correct IP address set in the Project Explorer window in labview? It should that 10.17.18.2 (insert your team number in place of 17.18). If it sawys 10.XX.XX.2, you haven't configured it for your project.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2013, 10:20
integr8 integr8 is offline
Registered User
FRC #1307
 
Join Date: Jan 2013
Location: New Hampshire
Posts: 7
integr8 is an unknown quantity at this point
Re: cRIO connection issue-can't deploy code

Yes we have checked that and it says 10.13.7.2
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2013, 10:22
Jasmine Zhou Jasmine Zhou is offline
Registered User
FRC #1678
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Davis, CA
Posts: 17
Jasmine Zhou has much to be proud ofJasmine Zhou has much to be proud ofJasmine Zhou has much to be proud ofJasmine Zhou has much to be proud ofJasmine Zhou has much to be proud ofJasmine Zhou has much to be proud ofJasmine Zhou has much to be proud ofJasmine Zhou has much to be proud of
Re: cRIO connection issue-can't deploy code

Is the firewall on your computer disabled? If not, try turning it off. We had problems last year with connecting to the cRIO, but we use C++ so yours might be a labview-specific issue.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2013, 10:34
integr8 integr8 is offline
Registered User
FRC #1307
 
Join Date: Jan 2013
Location: New Hampshire
Posts: 7
integr8 is an unknown quantity at this point
Re: cRIO connection issue-can't deploy code

We just tried your solution, Jasmine, and we got the same result as before.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2013, 10:48
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: cRIO connection issue-can't deploy code

When you reimaged your cRIO this year, did you choose the LabVIEW option?
Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2013, 10:57
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: cRIO connection issue-can't deploy code

Have you verified the IP address on your computer is 10.13.7.5? What is your subnet mask set to?

Connected wired first, make sure your wireless and IPv6 are turned off.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
Reply With Quote
  #8   Spotlight this post!  
Unread 17-01-2013, 11:09
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,844
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: cRIO connection issue-can't deploy code

Things to try, some of them already mentioned:
  • Disable all other Network connections leaving only the one you are using for the cRIO.
  • Turn off all firewalls and anti-virus programs
  • Verify the remaining connection has an FRC valid IP address, i.e., 10.13.7.5 (for Ethernet) or 10.13.7.9 (for wireless), Check the Advanced button for multiple IP addresses and delete any extras.
  • Start the Driver Station to see the Diagnostic tab ping verifications
  • Try connecting your laptop directly to the cRIO vis Ethernet cable
  • Type ipconfig /all in a command window to verify what your network connections are.
  • Close the Dashboard if it is open and reboot the cRIO. There is currently an issue if the Dashboard is trading data with an existing program on the cRIO.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2013 at 10:46. Reason: Corrected Alan's comment
Reply With Quote
  #9   Spotlight this post!  
Unread 17-01-2013, 11:12
integr8 integr8 is offline
Registered User
FRC #1307
 
Join Date: Jan 2013
Location: New Hampshire
Posts: 7
integr8 is an unknown quantity at this point
Re: cRIO connection issue-can't deploy code

I have just changed the IP from 10.13.7.10 to 10.13.7.5 and out subnet mask is set to 255.0.0.0 and the default gateway is set to 10.13.7.4. I have also just turned off the IPv6. We are still getting the same issue but now we no longer have communications or robot code in the frc driver station.

Also we are connected directly to the cRIO via Ethernet cable if that makes a difference.
Reply With Quote
  #10   Spotlight this post!  
Unread 17-01-2013, 11:17
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: cRIO connection issue-can't deploy code

I just want to ensure that your wireless adapter is disabled or at least not connected to a network. Also set your subnet mask to 255.255.255.0 for programming.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.

Last edited by ehochstein : 17-01-2013 at 11:21.
Reply With Quote
  #11   Spotlight this post!  
Unread 17-01-2013, 11:26
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: cRIO connection issue-can't deploy code

The "Failed to connect to real time target" error suggests either a network problem or a misconfigured cRIO. If you can ping the 10.13.7.2 address, the network is probably okay, but you should double-check by using the ipconfig command. Can you copy and paste the results of ipconfig /all here so we can help you narrow down the problem?

Quote:
Originally Posted by Mark McLeod View Post
  • Close the Dashboard if it is open, then reboot the cRIO. There is an issue if the Dashboard is trading data with an existing program on the cRIO-the traffic volume can drown out the file transfer.
The issue isn't the volume of data being transferred. It's a bug in the Network Tables server that keeps the cRIO program from being terminated when there's a current client connection. Closing the Dashboard is the suggested workaround until a software update is released. Rebooting the cRIO is not necessary.
Reply With Quote
  #12   Spotlight this post!  
Unread 17-01-2013, 12:52
integr8 integr8 is offline
Registered User
FRC #1307
 
Join Date: Jan 2013
Location: New Hampshire
Posts: 7
integr8 is an unknown quantity at this point
Re: cRIO connection issue-can't deploy code

When I pinged ipconfig/all this is what came up

Windows IP Configuration

Host Name: (my name)
Primary Dns Suffixblank)
Node Type: Hybrid
IP Routing Enabled: No
WINS Proxy Enabled: No

Ethernet adapter Ethernet:

Connection-specific DNS Suffix: (blank)
Description: Realtek PCIe GBE Family Controller
Physical Address: 08-2E-5F-7B-6B-38
DHCP Enabled: No
Autoconfiguration Enabled: Yes
Link-local Ipv6 Address: fe80::dc16:faef:92f9:7b3d%12(Preferred)
IPv4 Address: 10.13.7.5 (Preferred)
Subnet Mask: 255.255.255.0
Default Gateway: 10.13.7.4
DHCPv6 IAID: 25219439
DHCPv6 Client DUID: 00-01-00-01-18-4a-43-38-08-2E-5F-7B-6B-38
Dns Server:
fec0:0:0:fff::1%1
fec0:0:0:fff::2%1
fec0:0:0:fff::3%1
NetBIOS over Tcpip: Enabled

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State: Media disconnected
Connection-specific DNS Suffix: (Blank)
Description: Teredo Tunneling Pseudo-Interface
Physical Address: 00-00-00-00-00-00-00-E0
DHCP Enabled: No
Autconfiguraton Enabled: Yes

Tunnel Adapter isatap.{A66FC120-4B59-4ABA-A50D-275EF46A6B6B}:

Media State: Media disconnected
Connection-specific DNS Suffix (blank)
Description: Microsoft ISATAP Adapter #4
Physical Address: 00-00-00-00-00-00-00-E0
DHCP Enabled: No
Autocnfiguration Enabled: Yes
Reply With Quote
  #13   Spotlight this post!  
Unread 17-01-2013, 12:58
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,844
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: cRIO connection issue-can't deploy code

You probably want to turn IPv6 service off.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #14   Spotlight this post!  
Unread 17-01-2013, 13:07
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: cRIO connection issue-can't deploy code

I suspect you didn't actually copy and paste that, because there are misspelled words and inconsistent lines, but I'll trust that the content accurately reflects what you got.

With the possible exception of the IPv6 support, everything looks the way I'd expect it to for a properly-configured system. The next step in my troubleshooting script is to verify that the cRIO is correctly imaged. Run the 2013 cRIO Imaging Tool and tell us what it says (a screen capture would be helpful).
Reply With Quote
  #15   Spotlight this post!  
Unread 18-01-2013, 09:47
integr8 integr8 is offline
Registered User
FRC #1307
 
Join Date: Jan 2013
Location: New Hampshire
Posts: 7
integr8 is an unknown quantity at this point
Re: cRIO connection issue-can't deploy code

We turned off IPv6 and ran the cRIO imaging tool and an error message came up that said:

"No CompactRIO Devices were found

Verify an Ethernet connection between the CompactRIO device and the computer, and then turn Windows Firewall Off while imaging the CompactRIO device."

The windows firewall is off but I'm not sure if the computer is connected correctly to the cRIO.
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 21:05.

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