11-15-2013 01:01 AM
I have Prepared a data acquasation on producer consumer based archtitecture.In producer loop I am acquiring all data and in consumer loop writing all data directly on to the disk.But after some time my memory increse so fast while running.I am using 4 GB ram(pentium 4) on my pC and have to perform long time measurement.Even if I am not writing my data, my memory increase very fast.Please give me good suggestion for this problem.I have attached my LLB file.
11-15-2013 03:05 AM
down convert the VI to 2011
11-15-2013 03:46 AM
Hi,
I have conver it to 2011.If you have any suggestion for measurement over long period than please give me.
.After some time my vi ger slower and ram rapidly increase afterward.My pc(Pentium 4) with ram 4GB
11-17-2013 10:21 PM
In the attachment there are so many files,which is the vi causing problem
and how who running the code
11-18-2013 12:23 AM
I am sorry for such inconvenience and late reply.My main vi is in folder prufstand =>Test stand (second)=>prufstand 2.I am directly writing in my disc but still my ram increase rapidly.
11-18-2013 12:24 AM
hi
Here the attachment
11-18-2013 12:39 AM
block diagram of main vi
12-10-2013 02:51 AM
I think you have not updated the queue timeout ,so its better to define the timeout, may this may solve your issue,the default is -1,
and with this their should not be any waits in the code
12-10-2013 03:13 AM
If the result file isn't found you'll never dequeue which'll fill the memory fast, is that what's happening?
/Y
12-10-2013 06:39 AM
Thanks Bhramaji,
Should I use time out for both in producer and consumer loop?Actually I want to acquire all time but saving file should bedone at defined interval.Is **bleep** possible with Queues?