ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffer in multi thread

As the attached design, multi thread(reentrance) will be started to do data transfer on server.

 

Some threads need to open a buffer inside and accumulate the data, and write data to DB with time interval

 

Some threads not need.

 

Others parts have all been done, only this buffer, If I initialize the buffer in all the thread, but some buffer not need do so, then the memory is wasted.

 

So how to define this buffer efficiently.

 

Any suggestion, thanks.


 

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