|
From: Amit Ahuja on 7 May 2008 09:40 Hi, I have developed a VI in which I am using queues,arrays and Global variables. When I stop this VI, I want to release all the memory for - Queue - Array - Local variables If I use relese Q operation for releasing queue memory then will it do the job? Also if VI is stopped all local variables will be removed from memory. Is my understanding correct?
From: JeffOverton on 7 May 2008 10:10 Release queue will deallocate the memory automatically, and arrays and locals are automatically handled, but you may want to watch out for <a href="http://zone.ni.com/reference/en-XX/help/371361D-01/lvhowto/globalvarskeepcopysofdata/" target="_blank">memory performance</a> when you use globals with arrays. In most cases, globals and locals can be replaced by wires or action engines, which are more efficient and reduce race conditions.
|
Pages: 1 Prev: Best way to scan an array from a text file Next: TC CJC Accuracy |