LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behaviour using queue

Hi Matt

To answer your first question:

Hardware did not change. There is no new software utility and also not (yet) SP2. It's a PC which is just to run this application. What may influence the system are securitypatches (Windows AutoUpdate is enabled, due to company it-regulations).

I have no idea which process could starve my application, because the problem occurs so irregular. As i wrote - sometimes the problem doesn't occur the whole day, sometimes it occurs more than 30 times (distributed over the whole day).

It's such a pity that this problem occured 😞 because I like to work with LV but such a problem really can annoy one.

Thanks

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 11 of 14
(858 Views)
Hello Thomas,

To check the processor usage you can use a tool such as Process Explorer v8.61 available at SysInternals. It would be valuable to know what is happening with your system when these long delays occur.

Regards,

Matt F
0 Kudos
Message 12 of 14
(841 Views)
Hi Matt

I recently implemented a simple vi, to test the dequeue-behavior.

I measure the time used to enqueue and dequeue an element. Even in such a small application (I built an application to test it) it takes 2.5sec in average to dequeue an element.

The vi was developed and tested it on my desktop-pc (P4, 2.8GHz, 1GB Ram, Win XP).

In the attached zip-file is the vi and a custom-control, 2 log-files, a screen-shot of ProcessExplorer and the build-script.

You may have a look at it and maybe this helps to find a trace ;).

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 13 of 14
(830 Views)
In your approach the dequeue time seems to be given by the timeout value in the producer loop...
just make that faster.

I'll try to rewrite your app if I find some time...


Franz
0 Kudos
Message 14 of 14
(815 Views)