Go to Post I feel there really is only one team, and the name of that team is FIRST. - [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 29-01-2013, 17:24
EvanA's Avatar
EvanA EvanA is offline
Programming Nut
FRC #1208 (MeTool Brigade)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2009
Location: O'Fallon IL
Posts: 8
EvanA is an unknown quantity at this point
Long deployment time.

Whenever we deploy code from robot main it takes an excessively long time. We're talking like 10 to 15 minutes do finish deployment. This never happened with last year's code and we don't have near as much in our current project. Obviously, this is a huge inconvenience when testing new code and our mentor gets inpatient. Is there something we can do to speed this up?
__________________
FRC Team 1208 MeTool Brigade - 2009-2013
ROBOTS!
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2013, 20:37
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: Long deployment time.

Suffer through it once, and the subsequent deployments are much faster. It only needs to copy over any vi that has changed since the last deployment. It's annoying, but it's a one-time annoyance when you start a programming session.

I do agree that it's taking a lot longer to run Robot Main this year than it did last year.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2013, 20:44
fawkes32's Avatar
fawkes32 fawkes32 is offline
Programming and Electronics Mentor
AKA: Daniel
FRC #4635 (Eugenio)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Mexico
Posts: 3
fawkes32 is an unknown quantity at this point
Re: Long deployment time.

We had the same problem, but the difference is that we didn't know about last year deploy time, so we thought it was normal...
__________________
WE changes ME
Inspire Young Minds to Be Extraordinary
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2013, 22:29
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Long deployment time.

I'm having the same problem as well. On our robot for this year, the deployment is a decent speed, but is terribly slow on our robot from 2 years ago. It's absolutely terrible at moments. Sometimes even when the code does load, the robot main is so laggy that it's hard to test new programs at times.
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2013, 22:39
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: Long deployment time.

If Robot Main seems slow, please test the Diagnostics tab. Error reporting takes quite a bit of CPU, so if your code on the older robot has an issue casing it to report messages, fix that before being concerned about performance.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 30-01-2013, 02:24
Wildcats1378 Wildcats1378 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: hawaii
Posts: 93
Wildcats1378 is an unknown quantity at this point
Re: Long deployment time.

Yeah, we've also noticed that Labview 2012 is much, much slower then Labview 2011... I just wrote it off as our computer being old, but I guess that isn't the case. Last year, when we'd try and run any sort of code, it would load up in like 30 seconds to a minute, whereas now we are waiting 8+ minutes every time, even with code deployed on startup already!
Reply With Quote
  #7   Spotlight this post!  
Unread 30-01-2013, 07:44
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: Long deployment time.

I haven't experienced 2012 slow builds. Can you describe exactly when these occur, and can you open the Task manager to see if there is a hint at what is running and taking CPU?

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 30-01-2013, 13:58
fawkes32's Avatar
fawkes32 fawkes32 is offline
Programming and Electronics Mentor
AKA: Daniel
FRC #4635 (Eugenio)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Mexico
Posts: 3
fawkes32 is an unknown quantity at this point
Re: Long deployment time.

where are you running the program (vi) on the classmate PC on a personal computer, please specify your hardware and if the cRIO shows connection on the dashboard.

also, review the robot main.vi for waits or watchdogs, because if watchdog finds something wrong, it will stop the whole thing or make it slow.
__________________
WE changes ME
Inspire Young Minds to Be Extraordinary
Reply With Quote
  #9   Spotlight this post!  
Unread 30-01-2013, 20:44
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: Long deployment time.

We saw 20+ minute deploy times off of our 2011 ClassMate
Using a Core i7 (late 2011-ish) laptop, it went down to 5.
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote
  #10   Spotlight this post!  
Unread 30-01-2013, 21:29
blackflame2996's Avatar
blackflame2996 blackflame2996 is offline
Alumni
AKA: David Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Colorado springs, CO
Posts: 67
blackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to all
Re: Long deployment time.

We have a very interesting issue on top of slow deploy time. Whenever deploying code after a build has been run as startup, it gets stuck on "waiting for target" line, which is printed twice. The only way to get around this that we have found is to re-image the cRIO. any suggestions?
Reply With Quote
  #11   Spotlight this post!  
Unread 30-01-2013, 22:48
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: Long deployment time.

Quote:
Originally Posted by blackflame2996 View Post
We have a very interesting issue on top of slow deploy time. Whenever deploying code after a build has been run as startup, it gets stuck on "waiting for target" line, which is printed twice. The only way to get around this that we have found is to re-image the cRIO. any suggestions?
It's a bug. It's been explained on the Chief Delphi forums many times. Until the next LabVIEW update is released, the workaround is to close the Dashboard before trying to load new code into the cRIO.
Reply With Quote
  #12   Spotlight this post!  
Unread 31-01-2013, 02:19
Wildcats1378 Wildcats1378 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: hawaii
Posts: 93
Wildcats1378 is an unknown quantity at this point
Re: Long deployment time.

Quote:
Originally Posted by Greg McKaskle View Post
I haven't experienced 2012 slow builds. Can you describe exactly when these occur, and can you open the Task manager to see if there is a hint at what is running and taking CPU?

Greg McKaskle
We aren't using the classmate, and I don't have the specs on hand, but we are running Wndows 7 on a school computer. We only have Labview and the driver station open. Labview seems to be taking 100% of the CPU. it happens whenever we try to run code, unless we had already ran code previously without restarting the cRIO.
Our computer isn't amazing, but it could run Labview / driver station / dashboard and any Internet browsers without any lag in speed. The code would download fairly fast, like under a minute.
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:56.

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