Go to Post How do you earn yourself 500 PM's, 200 e-mails, 100 replies to a post, and an instant 5 to 6 bars in rep? If your name is Grant Imahara, make yourself known to the Chief Delphi community. - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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-01-2009, 20:23
Wendy Holladay's Avatar
Wendy Holladay Wendy Holladay is offline
Registered User
FRC #1912 (Team Combustion)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Slidell, la
Posts: 183
Wendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond repute
Pushing down LabView Code

After we push down labview code to the crio, we get a NO CODE message at the battery display on the driver station. We are using the cross over cable and going straight from the laptop to the crio. The laptop recognizes the crio and gives no error. When we disconnect from the crio and reconnect it to the driver station the NO Code appears. We have set the ip addresses correctly and installed the update 2 from national instruments

Do we have push down code thru the driver station with the laptop??
  #2   Spotlight this post!  
Unread 17-01-2009, 20:36
pheadxdll pheadxdll is offline
Registered User
AKA: Alex
FRC #1225 (Amperage Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: North Carolina
Posts: 168
pheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud of
Re: Pushing down LabView Code

Hey, when you download your code to the crio and that finishes, press the restart button on the crio so it can reboot. See if that helps,

Alex
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/
  #3   Spotlight this post!  
Unread 17-01-2009, 21:54
Wendy Holladay's Avatar
Wendy Holladay Wendy Holladay is offline
Registered User
FRC #1912 (Team Combustion)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Slidell, la
Posts: 183
Wendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond repute
Re: Pushing down LabView Code

tried powering down both the crio and the driver's station, didn't help, any more suggestion??
  #4   Spotlight this post!  
Unread 17-01-2009, 22:02
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,113
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: Pushing down LabView Code

Why are you swapping cables and connecting directly to the cRIO? Is one of the ethernet ports on your Driver Station broken?

Did you change the build specifications on your LabVIEW project to make it run as startup?
  #5   Spotlight this post!  
Unread 17-01-2009, 22:06
Wendy Holladay's Avatar
Wendy Holladay Wendy Holladay is offline
Registered User
FRC #1912 (Team Combustion)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Slidell, la
Posts: 183
Wendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond repute
Re: Pushing down LabView Code

no we don't think we have a problem with the driver's station, it seemed simplier to go straight to the crio, but is that the problem, does the code have to be pushed from the laptop thru the driver's station to the crio??
  #6   Spotlight this post!  
Unread 17-01-2009, 22:07
Wendy Holladay's Avatar
Wendy Holladay Wendy Holladay is offline
Registered User
FRC #1912 (Team Combustion)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Slidell, la
Posts: 183
Wendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond reputeWendy Holladay has a reputation beyond repute
Re: Pushing down LabView Code

and no we didn't change the build spec, we are pushing with the deploy option, will that work??
  #7   Spotlight this post!  
Unread 18-01-2009, 09:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,835
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: Pushing down LabView Code

You don't have to push the code through the Driver Station. It doesn't need to know.

You can also bypass the DS by connecting your laptop directly to the router rather than directly to the cRIO.
Typically though, you want to get used to connecting your laptop to the DS, because the router won't be available at competitions and it's so much easier to run over the wireless system when you're developing code at home, rather than to connect your PC directly to the cRIO.

The "No Code" means there's a disconnect between the DS and cRIO, but they have established basic communications. The code that sends the battery voltage is just not running on the cRIO.

--When you first flash the cRIO (with v7 from Update 2) there is code left to run and return the voltage.

--When you "Run as startup" to deploy new code, you need to reboot the cRIO afterwards to have it actually start.

--If you use the "Run" button to test code, under certain circumstances that will disable any pre-existing code on the cRIO set to run at startup. You will need to redeploy using "Run as startup" again.


It sounds as if you missed a step in deploying your code, so that it's on the cRIO but not set to run at startup.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2009 at 10:23.
  #8   Spotlight this post!  
Unread 18-01-2009, 10:51
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 545
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: Pushing down LabView Code

Quote:
Originally Posted by whollada View Post
and no we didn't change the build spec, we are pushing with the deploy option, will that work??
No, simply deploying it will not work.

Under "Build Specifications" under the cRIO project file listing, right click and create new build specifications. The only thing our team had to change was adding Robot Main to the startup VIs list (though some other settings may have also changed, check the documentation for correct settings).
After that, you must first right click the build spec and select "build," then when that is done "run as startup." This will build the code, then deploy it onto the cRIO and run it as the startup code.

Also, when you turn on the DS, it will usually cycle through "No comms," then "No Code," then it will display the voltage and be ready for use.
__________________
Team 2052- KnightKrawler
Mentor and volunteer
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
Posting LabView Code Easily? Greg Marra NI LabVIEW 17 25-11-2009 16:49
custom C/C++ code in LabView? Pneumaticsman NI LabVIEW 5 14-01-2009 23:05
help me in LabView code mahmosh National Instruments LabVIEW and Data Acquisition 3 11-01-2009 00:18
Configuring Labview code to easyC team877 LabView and Data Acquisition 6 16-01-2007 09:21
Shut down Code Repository? SilverStar Programming 12 25-05-2004 20:32


All times are GMT -5. The time now is 05:54.

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