LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle massive array operations

After reading through this thread, I just have one more suggestion.  You should use single-element queues to hold your data.  This will allow you to pass it around easily (just a queue reference or queue name).  Single-element queues do not create copies when you dequeue an array, so memory management is better.  The single-element aspect helps prevent race conditions (when you dequeue the element, no one else can read it until you enqueue it again).  In my tests, the single-element queue outperformed (access speed) the LV2 global by about a factor of five.  It outperformed front panel controls by almost two orders of magnitude.  Details on use are in the tutorial on large data handling already mentioned in this thread.
Message 31 of 31
(661 Views)