LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory refresh of Queue buffer in execution.

I intend to transfer from the huge and fast data in producer to consumer loop by using Queue.

I got to know the used memory is not cleaned even in no number of buffer in Queue.

 

For example, the number of data in buffer was 1,000 in Queue.

At this moment, the memory is used in 100MByte.

Let's assume the big buffer was transfered to producer loop by using more fast routine.

Now the number of data in buffer is zero.

I found the memory in execution is still 100MByte which can be cleaned by release Queue.vi or stop the program.

 

How do I control the size of memory related to Queue buffer in execution?

I want to clean the size of buffer in case of no data in buffer.

 

labmaster. 

0 Kudos
Message 1 of 2
(2,379 Views)

Hi labmaster,

 

The queue is a 'default' in LabVIEW which means that it has been pre-coded. However, that is not to say that you cannot prevent all your buffer from getting used if you monitor it closely and that you can certainly do. Please have a look at this forum post. In addition I would also recommend using the Desktop Execution Trace Toolkit, if you can. Hope this helps!

 

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,345 Views)