Go to Post Being rude is easy. Being a compassionate human being takes work. - Joe Johnson [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 02-02-2009, 09:18
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Temporary deployments

To debug this, you may want to ftp to the bot and see the files after a deploy, and look again when it doesn't run.

The LV RT environment uses an ini file to tell it what to do on power up. In that file it will point to the latest LV deployed project, and another entry will indicate if it is still supposed to run at startup. So you may want to diff your ini file in the two states too.

Finally, there is an RT behavior that takes a bit of getting used to. The controller's ini file will be modified when a different project us run in RAM. So the confusing outcome of this is ... you build project A, deploy and set it to run at startup. You reboot the controller and it runs A -- Yay! It should work like this every time you reboot. Then you do a bit of development using project A and running interactively. Reboots run the original version of A on Flash -- Yay! Now you open a project B and run a VI for testing, calibration, etc. The next reboot will not run A, even though you didn't explicitly set anything else as the startup.

The rationale for this has to do with which project has ownership of the cRIO.

The latest update added a feature to choose the alternate behavior. If you image the cRIO and tell it to retain the startup app, it will still find your A app on the controller and restore the ini, and boot again. The only downside is that undeploy won't work anymore, you'll need to ftp and delete the file.

Greg McKaskle
Reply With Quote
 


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
Temporary Answer to No Spell Check Clark Gilbert CD Forum Support 4 04-03-2004 14:18
Temporary Site Jack FIRST Scouting Network 11 12-06-2003 23:39
Temporary Panic Nate Smith Chit-Chat 1 01-06-2001 11:20


All times are GMT -5. The time now is 04:17.

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