|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Problems deploying code
I did re-image the cRio to Windriver Workbench C++. On the note of undefined symbols, I don't have access to the robot, so I don't think I can check that.
Quote:
Is it possible for my code to have undefined symbols even though the exact same code was able to be deployed onto the robot from another students laptop? Would it help if you saw my code? |
|
#2
|
||||
|
||||
|
Re: Problems deploying code
Quote:
nmppc C:\WindRiver\workspace\SimpleTemplate\PPC603gnu\Si mpleTemplate\Debug\SimpleTemplate.out The program nmppc is in the VxWorks directories. I apologize for not having the exact location for you - I'm in the Caribbean on vacation. But the easiest thing to do is open the VxWorks Development Shell (from the program menus). It is a command line window (on your laptop) that has the PATH and other environment variables set you can use nmppc and other utility programs (.exe, .com, .bat in Windows) from Wind River. If the exact same code deploys from another robot, something else is wrong. But you could have the same code and not be linking it in the same manner. For example, are you linking to the WPI libraries? Are you using a copy of the same project? Do both robots have the same types of cRIOs? Did you load the WPI stuff on your laptop? You can send me your code and I'll look at it. Please send the .out file. |
|
#3
|
||||
|
||||
|
Re: Problems deploying code
I can't see anything obviously wrong with your example code. Here is a sample of the output of nmppc:
... U taskRestart U taskResume U taskSpawn U taskSuspend U time U tolower U toupper U trcStack U unldByModuleId U vsprintf 00000154 D wpi_error_s_CommandIllegalUse 00000118 D wpi_error_s_CompressorUndefined 0000010c D wpi_error_s_DriveUninitialized U write ... But there are a lot of symbols in there to go through manually. Since you have two laptops with the same Wind River and NI install I would look for reasons that the FTP session might fail (which is what the download really does). Do you have any way to monitor network traffic to see the FTP session (on the wire) when start the download? Is it possible you have firewall settings stopping the FTP session? |
|
#4
|
|||
|
|||
|
Re: Problems deploying code
I have the standard windows firewall enabled, could that be stopping the deployment process. I won't have access to the robot until later tomorrow, but when I do, I will disable my firewall, and see if that helps at all.
Also, is it possible for me to somehow take the .out file of the program, and transfer it to the FTP? I've read about doing it before, but I'm wondering if the process can still be done manually. |
|
#5
|
||||
|
||||
|
Re: Problems deploying code
Quote:
Sure, you can ftp to the robot (the user name and password are 'user' and 'password') and put the file in the login directory (so no need to change directories on the robot) - our autonomous code runs scripts that we download to the robot via ftp prior to each match Hey - the name of the file might be important on the robot, it will not be SimpleTemplate.out. I can't remember what it is and have no way to check it right now. Log in to the robot and do a directory listing, the name is kinda obvious looking. Last edited by wireties : 28-11-2013 at 21:48. |
|
#6
|
|||
|
|||
|
Re: Problems deploying code
I found out why I was having the problem. My Windows firewall must have been denying me access to deploy the code to the robot. I probably messed up on the permissions when I installed the program. All I had to do was disable the firewall, and I was able to deploy code.
Thank you all for your help, |
|
#7
|
||||
|
||||
|
Re: Problems deploying code
No problem - good luck to you and 1325 this year!
|
|
#8
|
||||
|
||||
|
Re: Problems deploying code
Quote:
|
|
#9
|
|||
|
|||
|
Re: Problems deploying code
Quote:
Also, the computer that I am using is the exact same computer that I wrote and downloaded LabVIEW code with. |
|
#10
|
||||
|
||||
|
Re: Problems deploying code
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|