Go to Post Not only would it be cool but the mental image of Dave's suffering when he writes a message in unintelligible characters makes me grin uncontrollably. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 15-07-2011, 17:47
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Exclamation Can't Image cRio

We are changing from LabView to C++ programming. I've been trying to re-image the cRio to work with C++, but re-imaging keeps failing:

Quote:
Unable to complete operation because of unexpected error:
Error 66 occurred at TCP Read in NI_InternetTK_Common_VIs.lvlib:TCP Read xTP Reply.vi:3->NI_InternetTK_FTP_VIs.lvlib:FTP Get Command Reply.vi:2->NI_InternetTK_FTP_VIs.lvlib:FTP Command.vi:1->NI_InternetTK_FTP_VIs.lvlib:FTP [QUIT].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Close Session.vi:4->Format Target.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlibialog.vi

Possible reason(s):

LabVIEW: The network connection was closed by the peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools>>Options>>VI Server:Machine Access on the server side.
I started the installation on a computer that has never been used to program the cRio before. I followed the installation instructions. I've installed the LabView tools (not all of LabView). I went through and found all of the updates I could locate and installed those.

I can image the cRio from another system that has LabView installed, but not WindRiver, so it's not anything to do with the cRio.

I haven't been able to image for LabView, Java, or C++. When I do a full re-image (ie Safe Mode off), the imaging seems to work, but the final are where the failure occurs. For a normal re-image, it seems to fail almost right away.

I would appreciate any kinds of ideas for how to work out what the problem might be.

Thanks.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com

Last edited by duane : 15-07-2011 at 18:01.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-07-2011, 18:45
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: Can't Image cRio

I had to ask the question in order to find the answer.

Thanks to this post that explained the situation with networking on some machines. I was using "one of those machines" that reconfigure the network as the port goes up and down.

Inserting a hub between the computer and the cRio fixed the problem.

Go figure. Sad.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com

Last edited by duane : 15-07-2011 at 18:52.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-07-2011, 18:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Can't Image cRio

Quote:
Originally Posted by duane View Post
I had to ask the question in order to find the answer.

Thanks to a post from Mark McLeod that explained the situation with networking on some machines. I was using "one of those machines" that reset the ethernet port as the port goes up and down.

Inserting a hub between the computer and the cRio fixed the problem.

Go figure. Sad.
Would you please edit your post and add a link to the post from Mark that you found helpful?

Thanks!


Reply With Quote
  #4   Spotlight this post!  
Unread 15-07-2011, 18:53
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: Can't Image cRio

Done.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote
  #5   Spotlight this post!  
Unread 15-07-2011, 18:54
torihoelscher's Avatar
torihoelscher torihoelscher is offline
Wow I feel old
AKA: Princess Leia
no team
Team Role: College Student
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Palm Harbor FL
Posts: 191
torihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant futuretorihoelscher has a brilliant future
Send a message via AIM to torihoelscher
Re: Can't Image cRio

Quote:
Originally Posted by duane View Post
We are changing from LabView to C++ programming. I've been trying to re-image the cRio to work with C++, but re-imaging keeps failing:



I started the installation on a computer that has never been used to program the cRio before. I followed the installation instructions. I've installed the LabView tools (not all of LabView). I went through and found all of the updates I could locate and installed those.

I can image the cRio from another system that has LabView installed, but not WindRiver, so it's not anything to do with the cRio.

I haven't been able to image for LabView, Java, or C++. When I do a full re-image (ie Safe Mode off), the imaging seems to work, but the final are where the failure occurs. For a normal re-image, it seems to fail almost right away.

I would appreciate any kinds of ideas for how to work out what the problem might be.

Thanks.
Okay so please clarify...even with a regular c-rio reimage it wont work?
if so,

~Make sure that you can either ping or use Measurement Automation explorer. ping 10.xx.xx.another number dont forget your team number once to replace the x's.
~If not please check the wireless. If it is on please turn it off.
~Also please check your firewall. This being on can interfere with the connection between the computer and the c-rio.
~Also you will probably have to power cycle your robot.
~Also make sure your computer is not on "Get connections automatically" please set your computer to for example 10.00.00.99 (replace the zeros with your team's number)
~Also please connect to a router if you havent already.

Please tell if any of this works, I havent worked with c++ so I dont know the nitty gritty but this is a start.
__________________
Tori Hoelscher

FLL
FTC
FRC

"May the [mass x acceleration] be with you"
"Aren't you a little short to be a storm trooper?"

Alumni of Team 79 Krunch.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-07-2011, 19:33
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: Can't Image cRio

I should have been more clear. I was using the cRio imaging tool, selecting WindRiver C++ and imaging with the latest (v29?) image.

Quote:
~Make sure that you can either ping or use Measurement Automation explorer. ping 10.xx.xx.another number dont forget your team number once to replace the x's.
The connection mostly works. Some part of the imaging would work and then later fail.

Quote:
~If not please check the wireless. If it is on please turn it off.
Off
Quote:
~Also please check your firewall. This being on can interfere with the connection between the computer and the c-rio.
Windows asks. I disabled.

Quote:
~Also you will probably have to power cycle your robot.
~Also make sure your computer is not on "Get connections automatically" please set your computer to for example 10.00.00.99 (replace the zeros with your team's number)
Fixed IP address.

Quote:
~Also please connect to a router if you havent already.
Ding, ding, ding. A winner! I found the notion that inserting a hub would fix that problem so lame that I ignored it for a way too long time. (A router is not required; a simple hub works just fine.)

It is sad that this is a problem. Networking should not be that hard.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
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 03: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