Hello,
I'm new to Labview, the major programming environment at my new job.
I'm trying to build some modules for processing streams of sonar data
as they arrive, and I want the module to keep a running total of a few
numbers for processing (averages and the like). How can I make a block
that has a memory? That is, a block that won't be re-initialized every
time the data comes in. What I want to do is similar to the "running
averages" example, but in that case the data is coming from within the
"while" loop. I don't see a way that, if the code is made into a
"block", the data stream could be made to come in from the outside --
each time it gets input, the block re-initializes, so running totals
are lost.
My supervisor is at a loss, and I haven't been able to figure it out
from the manual or the examples. Can anyone explain how to make a
block with a memory?
-- Randall Munroe