Go to Post Roses are red/Violets are blue/I'll write a poem/Once build season's over. - Taylor [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 13-12-2011, 07:21
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
loading into cRio

me and another programmer have been trying to load the code into the robot with no success. we hit run, and it seems that it is sending, but when we go to driver station, it says there is no robot code. What are we doing wrong?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-12-2011, 07:25
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,713
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: loading into cRio

Are you using the Run button at the top of the screen?
That's temporary and generally for debugging.

To put the code permanently onto the robot, so that it automatically runs whenever the robot is started, look under "Build Specifications" on the Project Explorer window.
Under that will be a single entry "FRC Robot Boot-up Deployment"
Right-click on the entry there and choose:
  1. Build - takes a few minutes
  2. Run as startup
Run as startup will take a little longer as it transfers everything to the cRIO. The first time it will just do it, but after the first time you will also see a pop-up message warning you that it will be replacing files that already exist on the cRIO. When you see that just click okay.
Attached Thumbnails
Click image for larger version

Name:	BuildSpecificationsMenu.jpg
Views:	16
Size:	46.2 KB
ID:	11192  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-12-2011 at 07:51.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-12-2011, 10: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: loading into cRio

Quote:
Originally Posted by tilky View Post
...we hit run,...
What "run" are you hitting? If you want to run your LabVIEW robot code with access to the VI front panels, you need to run the "Robot Main" VI. And then you need to leave it running. Don't close LabVIEW before you start the Driver Station application.

Mark's advice is proper if you want to load the robot code onto the cRIO and run it there with no interaction with LabVIEW on your PC.
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 08: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