From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(939 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
(938 Views)

Thanks a lot GerdW for helping me  

 

0 Kudos
Message 3 of 3
(919 Views)