LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview frozen

Hello,

I am running Labview for acquisition (with a NI DAQ card) under XP. Typically, I acquire 2048 sample at 100000 Hz every 100 ms (10 Hz), but sometimes Labview freezes for a couple of seconds probably because XP requires CPU time.
How can I deactive any process that I do not need to let run Labview properly ?
I already disconnect the internet but it does not help.
I do not run any printer but I need the serial line to talk to an instrument.
I already try to prioritize some critical sub VIs (calculation).

Regards.
0 Kudos
Message 1 of 4
(2,825 Views)
Hi,

You are able to check your computer's processor usage on the Task Manager. Reference this to a time when your application is not running and when it is running to see how much memory it uses.

Within LabVIEW, under Tools >> Profile >> Performance and Memory, you are able to see what sort of time each of your SubVI uses and also the memory usage.

These tools should help you narrow your slow processing down to a more specific cause. On a side note, what version of LabVIEW are you using on what operating system and how big is your memory (RAM)?

Regards,
0 Kudos
Message 2 of 4
(2,782 Views)
Do you have an antivirus program?  They tend to eat random processor time at random increments AND can be considered high priority by windows.
0 Kudos
Message 3 of 4
(2,779 Views)
No, I do not have any anti virus running.
I was tracking the task, but I did not get it, it just radomly happens for may be 2-3 s, the CPU jump to 100%
(Normally it is ~ 50%)
0 Kudos
Message 4 of 4
(2,774 Views)