Go to Post It's nice to see how patient people will be on here even with people who are 99.9999% trolling. Something something GP. - Chris is me [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 18-01-2013, 00:08
jameshayek jameshayek is offline
Registered User
FRC #4347
 
Join Date: Jan 2012
Location: United States
Posts: 3
jameshayek is an unknown quantity at this point
"Failed to connect to Real-Time target" error on one computer and not the other

Labview and all the updates have been installed on both computers.
Both computers can ping the router and cRIO

On the computer with the error, I am able to open the default labview project. I can right click on the "RT CompactRIO Target" icon in the project explorer and click connect. The green light lights up showing it connects.

However, when I try to run the code the program freezes up displaying the line "Failed to connect to Real-Time target"

I have no problem connecting and submitting code from another computer.

Would anyone have any direction I can point my attention in?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2013, 08:24
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,716
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: "Failed to connect to Real-Time target" error on one computer and not the other

A few things to try:
  • 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.
  • Type ipconfig /all in a command window to verify what your network connections are.
  • Close the Dashboard if it is open. There is an issue if the SmartDashboard client is trading data with an existing server on the cRIO.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2013, 11:36
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: "Failed to connect to Real-Time target" error on one computer and not the other

Also make sure you selected the correct IP address in the LabVIEW project.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2013, 21:13
jameshayek jameshayek is offline
Registered User
FRC #4347
 
Join Date: Jan 2012
Location: United States
Posts: 3
jameshayek is an unknown quantity at this point
Re: "Failed to connect to Real-Time target" error on one computer and not the other

Thanks guys,

The correct IP Address is in the labview project. I was able to ping the router and cRIO. I was also able to right click in the explorer window and connect to the cRIO but when it came to running the code, I would be disconnected and get the error in my original post.

No other networking connections are made beside the one connecting the computer to the router.

All firewalls and anti virus programs were disabled.

Typing ipconfig /all in the command prompt gave me back the expected results.

The dashboard was also closed the entire time.

I was able to single out where the problem started. The only computer able to successfully connect and submit code is the one that imaged the cRIO. No other computer is able to submit code.

Is there any known problem for an issue such as this?
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 12:14.

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