LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using previous value

Solved!
Go to solution

Hi guys ,

My problem is that the 9 th probe always stay at 0 and i want every iteration to have the last value and use it again in the same loop and i didnt find out how to do it so i need some help guys 

Thanks a lot .

 

 

2dom_0-1629968170439.png

 

0 Kudos
Message 1 of 3
(945 Views)
Solution
Accepted by topic author 2dom

Hi 2dom,

 


@2dom wrote:

My problem is that the 9 th probe always stay at 0 and i want every iteration to have the last value and use it again in the same loop and i didnt find out how to do it


Don't place the feedback node outside the loop, but place a shift register at the loop border!

THINK DATAFLOW! 🙂

 

(That's pretty basic LabVIEW stuff: did you notice those Training Resources offered at the top of the LabVIEW board?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(944 Views)

Thanks a lot GerdW for helping me  

 

0 Kudos
Message 3 of 3
(925 Views)