LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CPU workload LabVIEW 8.0

Im trying to develop an Measurementapplication.

The Application has to query 23 AnalogInputs and 3 CounterInputs and the configuration of the System is:

2,66GHz Pentium 4 with 2GB RAM, 2x PCI 6229 and 1x PCI 6602.

My question.

Is it normal that the System works with an CPU-workload of 100%

 

Thank you very much
0 Kudos
Message 1 of 6
(3,560 Views)
Hello Homer,

please post some more information about your application architecture. Are you using untimed while loops? How do you acqurie data? etc.

Generally it is not normal that the CPU usage is 100%.

Best regards,

Carsten Sprung
Applications Engineer
NI Germany
0 Kudos
Message 2 of 6
(3,526 Views)

Hi,

I acquire the data with 2x PCI 6229 and 1x 6602,

and the Vi is attached

Regards

Dirk

0 Kudos
Message 3 of 6
(3,509 Views)
Hi Homer,

as I could see the small while-loop is untimed. As all Sub-VIs are missing I was not able to test the VI but I am sure that the CPU usage will be low when you implement the timing in the small while loop.

Best regards,

Carsten Sprung
Applications Engineer
NI Germany
0 Kudos
Message 4 of 6
(3,504 Views)

Thanks!

implementing a Timeloop has cut the CPU-workload to 65-75%
nice

regrads
Dirk

0 Kudos
Message 5 of 6
(3,500 Views)

Typically, you should insert a delay (Wait) within every loop, even a value as small as 1 ms.  I normally use 10ms.

 

0 Kudos
Message 6 of 6
(3,465 Views)