Go to Post The bleachers at a FIRST competition should be full of people blasting energy out of every pore of their bodies. - dlavery [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-01-2014, 00:20
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: Build/run as startup time

Quote:
Originally Posted by Greg McKaskle View Post
You are correct that the compile and build portion of LV is limited to being single threaded. What you may want to experiment with is whether you keep your VIs open when you build, or whether you close them first and then build.

My computer is in a weird state at the moment with other projects, so I wouldn't trust my numbers anyway.

The build loads all of your VIs and the libraries into a build context. If the VIs are in memory, it transfers those from the intel context to the PPC context, compiling and loading alternate libraries as needed from disk.

If the VIs are kicked out of memory, the VIs will all be loaded from disk into the new context. From what I saw last year, both routes performed compiles they didn't need to, but the bugs were reported and some of the biggest ones were fixed. My suspicion is that the disk route will be faster, but it would be helpful to do both and please post your results.

Greg McKaskle
I ran a few tests on my Xeon machine, it averaged about 58 seconds with the VIs open and 59 with them closed.
That machine is probably more disk limited then it is memory which could explain the results. I will test some more latter tonight/tomorrow on a slower machine and see if the difference between them increases.
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
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 00:53.

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