Hi guys,
Forgive the question, but I'm completely new to Labview and have recently inherited a rather large codebase that I will be working on over the next few months. The code is quite complex, so I'm sure I'll be referencing the documents available to their fullest extent while trying to figure it out.
My question is this. The previous grad student, who built out the code originally, couldn't figure out something that seems to be very simple. We have several discrete variables that we're using, and at each time step, the two previous values are held. In a kind of functional assignment form, it might look something like this:
x(t-2) = x(t-1);
x(t-1) = x(t);
x(t) = sensor(t); the value is read off from an external sensor.
Currently, all current and previous values must be recorded to be fed into the dataflow at each time step. Ideally, this would be done automatically, but I haven't the slightest clue how to do it. Any help here?
I'm proficient in VHDL, C, Javascript, and Mathematica, if that helps at all.