Go to Post The problem was too many penalties with too much room for judgment. - dbSparx [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 05-03-2012, 13:57
Nicandy's Avatar
Nicandy Nicandy is offline
Registered User
AKA: Nicole/Andy
FRC #3580 (Marinerds)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cape Coral
Posts: 23
Nicandy is an unknown quantity at this point
Re: crio not running new code

When I finish altering my code, I exit out of the vi and go to the main lvproject explorer screen. I then go down to the Robot Main.vi and right click to select the deploy option. After the code appears to compile into the crio properly (this is assuming i am connected to the crio) I restart the crio, then launch the dashboard. Within the dashbord after I connect to the crio, I launch teleop mode, however when teleop is activated, i see no changes within the code. Even if I delete code that previously worked within the program,
it still runs on the crio, and no altered code appears to work within the program.
I hope this explained abit more clearly the trouble i'm having.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2012, 14:04
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: crio not running new code

That does explain things clearly and highlights the issue.

The step where you press "Deploy" is incorrect. What you should be doing instead is a two-step process: 1) clicking "Build", then waiting for the dialog box when the build is complete. 2) Clicking Run as Startup from the same menu
Reply With Quote
  #3   Spotlight this post!  
Unread 05-03-2012, 16:44
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: crio not running new code

When the cRIO starts up, it will run only a .rtexe file that's been set to Run As Startup. That file is created when you Build the project.

The very bottom item in the project view contains the deployment options. That's where you find the place to right-click and do the Build and Run As Startup.
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 22: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