05-22-2007 09:59 PM
05-23-2007 12:46 AM
05-23-2007 02:27 AM
- cpu usage is high in both the built and labview environments
- 7.1 program was the same, except for some changed vi's which were replaced in 8.2
- running 8.2.1
- program does not interact with daq or any other hardware. it is basically processing statistical algorithms
- the cpu usage is higher when 'computing' but is very high - around 95 - 98% when 'idle'
- there is a wait statement in the main loop of 400ms
-running windows XP
-computers has 1Gb (desktop) and 2Gb (laptop) RAM
-loops communicate using locals
- data exchage in loops varies - not sure what rate...
- both fixed and variable size
- not sure how to check memory usage and i have done the memory profiling but not sure how to analyse the results or improve code based on this analysis.
Cheers
05-23-2007
04:36 AM
- last edited on
03-12-2025
09:29 AM
by
Content Cleaner
Hi, to learn more about the use of the profiler you can look here. Consider the information given under the point Profile Data to sort the results.
Hope this helps,
Dave
05-23-2007 10:00 AM
05-23-2007 06:16 PM
Thank you for all your help and suggestions Altenbach. i will work through that now and try to isolate the problem.
Best wishes
RVR
05-23-2007 06:16 PM
02-13-2014 11:11 AM
i also have a problem in labview 6.1 ...........when i execute the 2-3 programs continuosly using load and run functions the program continuously it shows 100% cpu utilisation?
02-13-2014 11:16 AM - edited 02-13-2014 11:17 AM
@priya2207 wrote:
i also have a problem in labview 6.1 ...........when i execute the 2-3 programs continuosly using load and run functions the program continuously it shows 100% cpu utilisation?
What is a 2-3 program? What are "load" and "run" functions? Du you use the "run continuously" function? (you use that term twice in the same sentence)!
It is normal for a program to use 100% CPU if it does not contain any small wait statements, but simply runs over and over as fast as the CPU allows. Such a program is poorly written.
In any case, if you want more detailed help, please atttach some code. Of course LabVIEW 6.1 is ancient.
02-13-2014 10:29 PM - edited 02-13-2014 10:40 PM
iam attaching the code..........in this code main objective is to load and run 3 vis simultaneously using semaphore syncronisation..... these vis have several other subvis also...100% cpu utilisation is due to bad programming or there are some other reasons also