Go to Post ... my most important lessons in life all came from one place, Sesame Street. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 20-01-2009, 21:29
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Download code, restart robot, no work

we've managed to download the code and now it runs. but when we turn off the robot and turn it back on, it doesn't work. we keep having to repeatly download the code each time. we have heard about something called dependencies, could someone please elaborate more on this?
__________________
ok, who ate my hot pocket?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2009, 21:57
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Download code, restart robot, no work

You're downloading the program to RAM, but you need to download it to flash to get it so survive between reboots. This can be done using the "deploy" option in FIRST downloader
__________________
Get yer robot source code here!
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2009, 22:21
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Re: Download code, restart robot, no work

where is the deploy option?
__________________
ok, who ate my hot pocket?
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2009, 22:28
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Download code, restart robot, no work

If you're using windriver, it's under FIRST and then "deploy"
__________________
Get yer robot source code here!
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2009, 22:39
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Re: Download code, restart robot, no work

unfortunately, we are actually using LABView, would you happen to know where it is?
__________________
ok, who ate my hot pocket?
Reply With Quote
  #6   Spotlight this post!  
Unread 20-01-2009, 23:29
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Download code, restart robot, no work

Explained here.

Making your LabVIEW application start when the cRIO boots
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2009, 06:44
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Download code, restart robot, no work

This question should be a FAQ.
Is there a FAQ?
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2009, 13:14
guakam0li1089 guakam0li1089 is offline
Registered User
FRC #1089 (Mercury)
Team Role: Communications
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Hightstown
Posts: 32
guakam0li1089 will become famous soon enough
Re: Download code, restart robot, no work

after your done fixing any problems or such, go to robotmain.vi (in project explorer) right click and click build
__________________
Wise men talk because they have something to say; fools, because they have to say something.
Reply With Quote
  #9   Spotlight this post!  
Unread 21-01-2009, 14:12
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Download code, restart robot, no work


FIRST Community FAQs
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2009, 20:34
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Re: Download code, restart robot, no work

can someone explain where the robotmain.vi is, because in our project explorer, there isn't a "robotmain.vi" there is a "basic robot main.vi" but when i right click it, there is no option for build
__________________
ok, who ate my hot pocket?

Last edited by program1 : 21-01-2009 at 20:43.
Reply With Quote
  #11   Spotlight this post!  
Unread 23-01-2009, 10:08
Daniel_H's Avatar
Daniel_H Daniel_H is offline
Registered User
FRC #1156 (Under Control)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Brazil
Posts: 171
Daniel_H is just really niceDaniel_H is just really niceDaniel_H is just really niceDaniel_H is just really nice
Re: Download code, restart robot, no work

what can cause a failure to deploy?

I build it, and when I click on set as startup, it fails at "Deploying FRC Basic Robot Deployment"
__________________
[<o>] gogogo [<o>]
http://undercontrol1156.com/
Reply With Quote
  #12   Spotlight this post!  
Unread 23-01-2009, 13:08
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,112
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: Download code, restart robot, no work

Quote:
Originally Posted by program1 View Post
can someone explain where the robotmain.vi is, because in our project explorer, there isn't a "robotmain.vi" there is a "basic robot main.vi" but when i right click it, there is no option for build
Don't right click the VI. Right click the thing at the bottom of the project explorer tree. (Without access to LabVIEW at the moment, I cannot remember the proper name for this thing.)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Download Code to our Robot jcvd C/C++ 9 27-01-2009 13:09
Can't Download Code nickmagus Programming 1 05-01-2009 17:52
How to upload/download the code from a robot? Team865 Programming 3 06-11-2007 17:03
2006 Robot Code Download Chris_Elston Programming 2 05-05-2006 10:42
Download code from robot Luminous Programming 4 25-05-2005 13:32


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

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