08-01-2019 06:00 AM
@jackstokley wrote:
@rajiv85 wrote:
Grateful if you could please post an example with the feedback node. Never seen one implemented for that purpose.
If you take the examples that I send through before as a starting point, its as simple as right clicking on a shift register and pressing "Replace with feedback node". See below.
http://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/replace_sr_with_feedback_n/
Jack
Though you don't want the Feeback in the sub-vi, that would give the exact same result. The point is using Controls and Indicators to keep this data outside of the sub-vi, in a feedback node, on the parent block diagram.
/Y
08-03-2019 09:24 AM
So, as i suggested, if you instead of keeping the time as an internal memory through a shift register keep it outside in a feedback loop it all works well.
/Y
08-05-2019 02:28 AM
Very interesting work around. Thanks!!