Go to Post What is this sleep you all speak of...if it wasn't in the KOP than it is not allowed to be used :D - Wayne Doenges [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 17-09-2009, 16:22
viper110110 viper110110 is offline
Registered User
FRC #1325
 
Join Date: Jan 2009
Location: Mississauga
Posts: 41
viper110110 has a spectacular aura aboutviper110110 has a spectacular aura aboutviper110110 has a spectacular aura about
can't run code

I currently have some code on our bot and I wish to put some new code on, but I want to try it first as to not destroy what we have working. In the past, we just clicked the run button and the code would run in the RAM on the robot. When we powered down, the code would be cleared and the old code would resume next time we powered up.

Now when I click run, the DS tells me no code and the robot has no code. I am running the same code as before with very slight changes, so the code should not be an issue. How can I fix this?
  #2   Spotlight this post!  
Unread 17-09-2009, 19:17
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: can't run code

I am assuming you are using labview from the run button, Correct? you should put this in the labview subforum to avoid confusion.

I don't know more than just basic LV, but, are the IP's and connections fine? and is a DS plugged in with the right Team #? also, is the LV target set correctly? (or whatever that is called)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #3   Spotlight this post!  
Unread 17-09-2009, 19:54
viper110110 viper110110 is offline
Registered User
FRC #1325
 
Join Date: Jan 2009
Location: Mississauga
Posts: 41
viper110110 has a spectacular aura aboutviper110110 has a spectacular aura aboutviper110110 has a spectacular aura about
Re: can't run code

Sorry I forgot to mention, I'm using windriver workbench. I believe the IP addresses are all set correctly, as I have not changed them. I have the laptop plugged into the DS, plugged into the router and the bot connected to the router. I have also tried connecting the bot directly to the DS, with the laptop still connected to the DS. I have also tried connecting the laptop to the router.

This seems to be either an error putting the code on the robot or an error running the code.
  #4   Spotlight this post!  
Unread 18-09-2009, 21:25
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: can't run code

Quote:
Originally Posted by viper110110 View Post
Sorry I forgot to mention, I'm using windriver workbench. I believe the IP addresses are all set correctly, as I have not changed them. I have the laptop plugged into the DS, plugged into the router and the bot connected to the router. I have also tried connecting the bot directly to the DS, with the laptop still connected to the DS. I have also tried connecting the laptop to the router.

This seems to be either an error putting the code on the robot or an error running the code.
Then I can help
are you entering the entry point correctly with the right options? Right click the correct project, Run kernel task, Run? the target is connected properly, and set as the location to download to? also make sure that the run dialogs Download and Build project tabs contain one entry, your project, with the download, a path, a checked checkbox, an unchecked checkbox, and an option
You should not run when code is downloaded, it may cause errors, so I would Unload the current code (reboot), and run, debug etc, then when you are finished, set the correct project (window prefernces...) and then download.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Download Code nickmagus Programming 1 05-01-2009 17:52
Can't get auto mode to run with OI switches kiettyyyy Programming 11 15-04-2006 00:05
CMU code can't find stdio.h MacFlightSierra Programming 4 11-01-2006 17:00
Can I run the code on a computer? Anton Programming 1 06-02-2005 05:24
Can't Compile the Default Code pressurex1 Programming 4 25-01-2004 20:26


All times are GMT -5. The time now is 01:08.

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