Go to Post I think the answer you will get will be the same we have been saying since post #2 on page 1. - KenWittlief [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 18-02-2009, 19:55
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 414
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
LabVIEW annoyance. help( not a hater thread)

Ok so now that we've got our robot working and shipped out we have been working to get things to be better and more optimized. I have read through the nI board and some LabVIEW books but I seam to have 2 small issues.

so my biggest annoyance is with the deploy all function.
A) is there any way to get the front panels on all of our sub VI's to NOT pop up when we deploy all( we have 20+,and I think its causing PTSD on my Vista laptop ).

B) from Build ,to Deploy all ,to a robot reset, it takes 5:45( yes we timed it) . . can I make this smaller . . like down below the 2:00 mark.

Any advice would be great.
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2009, 22:01
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: LabVIEW annoyance. help( not a hater thread)

Are you picking the Deploy menu item from the right click menu on the Build Spec? Or is this a different menu item?

As for the build time, if you have started using analysis VIs, you may find it useful to edit the build spec deployment, click to the Additional Exclusions tab, and check the item to exclude library items not being used. Don't modify the library files.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2009, 22:39
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 414
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
Re: LabVIEW annoyance. help( not a hater thread)

ahh ahh thanks for the no popups . . Ive been Deploy All from right clicking on the cRio.

yeah I checked the exclude unused library files. no real change in build time
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2009, 01:13
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: LabVIEW annoyance. help( not a hater thread)

Quote:
Originally Posted by Stuart View Post
B) from Build ,to Deploy all ,to a robot reset, it takes 5:45( yes we timed it) . . can I make this smaller . . like down below the 2:00 mark.
I too would love to make the Build process run faster. It takes between ten and fifteen minutes to build our code using our several-year-old laptop running Windows XP. Checking the "exclude" box Greg suggests made no noticeable difference. I don't think we're using any of the Analysis VIs anyway.

I have no idea how long a Build takes on our new Windows Vista laptop -- it fails to build, giving an Error 8 (possible file permission error), and I haven't finished troubleshooting it.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2009, 09:22
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: LabVIEW annoyance. help( not a hater thread)

Quote:
Originally Posted by Alan Anderson View Post
I too would love to make the Build process run faster. It takes between ten and fifteen minutes to build our code using our several-year-old laptop running Windows XP.
Wow. Mine takes up to two minutes on either of my machines (now that I've changed my build spec). Neither of my boxes are particularly impressive - one is 5 years old.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2009, 11:40
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,731
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: LabVIEW annoyance. help( not a hater thread)

I have the same problem with the team T-30 laptop taking 10 minutes to build and download. I haven't had time to look into the resources that must be maxing out.

I switched to my newer work machine and it goes much faster, but that's problematical, since I'm really the only one who can use it.

Time to look for a grant for a new team laptop.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 19-02-2009, 11:56
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: LabVIEW annoyance. help( not a hater thread)

My wait is about 5 minutes for the whole process. I usually right-click the build spec and click build, and after that, run as start up. I'm not sure if this is the normal procedure, but it works for me.
__________________
Twitter Profile
Reply With Quote
  #8   Spotlight this post!  
Unread 19-02-2009, 13:10
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: LabVIEW annoyance. help( not a hater thread)

I dont understand why the whole compiling and downloading process takes so much longer than it has in previous years. granted, the programs are much more complex, but shouldn't most of the libraries be cached on the RIO anyway?

when we go to download test code (running from the main vi, not deploying), the rio spends like a minute downloading all of the supporting vi's, and then downloads all of the project files- even if all we did between tests was change a wire!

the way labview works is really weird in my opinion... yet its so powerful...
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
Reply With Quote
  #9   Spotlight this post!  
Unread 19-02-2009, 13:55
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: LabVIEW annoyance. help( not a hater thread)

Quote:
Originally Posted by Alan Anderson View Post
I have no idea how long a Build takes on our new Windows Vista laptop -- it fails to build, giving an Error 8 (possible file permission error), and I haven't finished troubleshooting it.
I resolved the Error 8. I had copied a project from our Windows XP laptop to the Vista laptop. and the output file directory in the project's build specification wasn't compatible with Vista's filesystem structure.

Now it only takes nine minutes -- a noticeable speedup, but still unreasonably slow. It shows the "Initializing build. This could take several minutes..." message for more than Eric's two minutes, and a totally new Basic Robot project runs the build for another two minutes. This is on a 2 GHz AMD Turion 64 with 3 Gigabytes of 800MHz SDRAM. What the heck is going on here?

Last edited by Alan Anderson : 19-02-2009 at 14:00.
Reply With Quote
  #10   Spotlight this post!  
Unread 19-02-2009, 20: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: LabVIEW annoyance. help( not a hater thread)

I wasn't able to look into this today, day jog kept getting in the way. I hope to gain some insight, and hopefully a solution tomorrow. I currently can't explain or justify the time it takes. I looked into the one issue with the analysis libs and the checkbox and can pretty much explain that one. I'll certainly post as soon as I understand it.

Greg McKaskle
Reply With Quote
  #11   Spotlight this post!  
Unread 19-02-2009, 22:36
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: LabVIEW annoyance. help( not a hater thread)

I turned off the virus scanner on our nice new Vista machine, and build time for our full project dropped drastically to just over three minutes. Mystery solved, I guess.

I checked the old XP laptop with 10-15 minute builds, and it only has 256 MB of RAM. Might that explain the extreme slowness?
Reply With Quote
  #12   Spotlight this post!  
Unread 20-02-2009, 08:30
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: LabVIEW annoyance. help( not a hater thread)

That is helpful in more ways than one. The virus checker is concerned anytime disk activity is taking place, so this also points in the direction of overly disk bound activity.

The LV build used to be so simple. LV VIs are already compiled and the .o is bound inside of them. The files were aggregated into a primitive zip called an LLB, that was attached as data to the end of a tiny EXE wrapper that knew how to load the LV runtime engine, and we were off to the races. If you wanted it smaller, the other parts of the VI were stripped of diagram and some panel info.

With libaries, lots of things changed while I wasn't looking, so let me investigate. I'd like it to take less than a minute. I don't see why the build should be slower than the download.

By the way, noticed in my other post that I had a typo
Quote:
day jog kept getting in the way
Hah, day job is what was getting in the way, I haven't jogged in years.

Greg McKaskle
Reply With Quote
  #13   Spotlight this post!  
Unread 20-02-2009, 09:10
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: LabVIEW annoyance. help( not a hater thread)

Quote:
Originally Posted by Greg McKaskle View Post
The LV build used to be so simple. LV VIs are already compiled and the .o is bound inside of them. The files were aggregated into a primitive zip called an LLB, that was attached as data to the end of a tiny EXE wrapper that knew how to load the LV runtime engine, and we were off to the races. If you wanted it smaller, the other parts of the VI were stripped of diagram and some panel info.
but im guessing the code compiled in these .o and exe wrapper segments are for an x86 processor, not for the processor contained in the rio? is this why it takes so long?
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
Reply With Quote
  #14   Spotlight this post!  
Unread 20-02-2009, 09:16
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 414
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
Re: LabVIEW annoyance. help( not a hater thread)

no I would expect that these .o files are for the power PC( its a power PC right?), although I do reserve the right to be wrong. Im curious to see if any one still has update 1 or update 2 on their computers, see if the change in the libs too place during that time.
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
Reply With Quote
  #15   Spotlight this post!  
Unread 20-02-2009, 10:23
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: LabVIEW annoyance. help( not a hater thread)

Quote:
Originally Posted by Alan Anderson View Post
I too would love to make the Build process run faster. It takes between ten and fifteen minutes to build our code using our several-year-old laptop running Windows XP. Checking the "exclude" box Greg suggests made no noticeable difference. I don't think we're using any of the Analysis VIs anyway.

I have no idea how long a Build takes on our new Windows Vista laptop -- it fails to build, giving an Error 8 (possible file permission error), and I haven't finished troubleshooting it.
Alan, something is very very wrong. My laptop (purchased off ebay for $150) is a 1.6 celeron with 1 gig of ram. It takes 2-3 minutes to deploy to the crio.

Just for clarification, that is a Robot Main -> Run arrow deploy. Not a complete build and download so that it runs on startup. We've only done that once this season
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LABVIEW CODES NOT SAVING!!!!!!! PLEASE HELP!!!!!!!!!!!! GrammarNazi Programming 3 06-02-2009 14:26
I'm trying not to hate labview but... sparrowkc NI LabVIEW 14 22-12-2008 22:41
Activation of LabView still not working apollorest National Instruments LabVIEW and Data Acquisition 4 22-11-2008 21:09
frc_camera not working but labview does Issues Programming 7 18-01-2006 19:23
Audioscrobbler.com -- Go sign up! -- This is not like the other thread. Ashley Christine Chit-Chat 56 26-10-2005 17:41


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

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