04-12-2007 11:53 AM
04-12-2007 01:21 PM - edited 04-12-2007 01:21 PM
Message Edited by LV_Pro on 04-12-2007 02:24 PM
Message Edited by LV_Pro on 04-12-2007 02:26 PM

04-12-2007 01:42 PM
04-12-2007 02:22 PM
Action Engine Nugget can be found here.
Ben
04-12-2007 06:42 PM
You already received some excellent answers, here are some more points (or similar points in other words).
Array resizings are expensive. Also remember that each indicator and control has its own data copy, so if you place a few array indicators along the dataflow of your code, you immediately generate multiple data copies. Local variables are always tied to front panel objects and thus inherently wasteful.
It is possible that you need to rethink your programming style. In LabVIEW, the wire is the variable so there are no "variables" needed in the classic sense of text based programs. A very efficient structure to hold array data is e.g. a shift register. If you have an array in a shift register and don't use any array resizing operations (delete from array, insert into array, built array), but exclusively use in-place operations (e.g. replace array subset), you are much better off.
Have a look at some of the older discussion threads, e.g. my rant from a long time ago:
http://forums.ni.com/ni/board/message?board.id=170&message.id=112401#M112401