08-31-2009 02:06 PM - edited 08-31-2009 02:07 PM
I've built a couple of small display front panel applications using the latest LabVIEW [9.0 AKA 2009]. Startup on the development PC is painfully slow as in over a minute to diplay on the screen. The machine is a Pentium 4 class machine with 1GB of memory. This is 32-bit mode on Windows XP. We are not moving to a newer OS until this is supported corporate wide and that may be a while. 8.6.1 is much faster in all respects than this. If the machine were thrashing the drive light would be on for a much longer time and this does not seem to be the case. Anyone know what is going on? I'm going to try more memory but I have slim hope this will help much.
08-31-2009 02:10 PM
Not sure if this is the culprit (I shut mine off as soon as I saw it)
Check
Tools >>> Options > New and Changed
and try shutting OFF (put a check mark in)
Disable ni.com updates in Getting Started window
Ben
08-31-2009 02:20 PM
Thanks for the tip but that is not the issue. The built binary seems to take more than a minute to start. LabVIEW startup seems snappy by comparison.
More details:
The application displays a group of indicators that are fed by a Windows DLL built with VS 2005 under C# that is in turn fed as a long string through a network variable. The DLL is just a string search method that returns a double.
08-31-2009 02:53 PM
05-11-2010 01:27 PM
During the build I made sure that debugging is off and memory usage seems to be reasonable for a newer LabVIEW version – it never decreases but usually increases somewhat modestly once the application has debugging off and the correct settings in the VI properties panel for application efficiency.
The machine in question is running Windows XP 32 bit, has a Pentium 4 CPU and 4 GB of RAM (the main board is maxed out). Trying the executable on a PC with a Core 2 dual core CPU and 2 GB of RAM shows similar results though I have not tested the registry change on that machine.
05-11-2010 04:27 PM
I was messing around with the Variable Engine options and found that setting the sleep time to something less than the default of 60 seconds speeds things up quite a bit. I have to have the value greater than 30 seconds or the values displayed are set to zero briefly as if the variable engine is suddenly purged and takes a moment to reload from the variable source over the network. Does this make any sense?
Bob
05-11-2010 04:46 PM