LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to compare value before and after

hi,

one of the queried Values ​​is the number of defective frames.Here, this value is compared with a previously sampled value

If now (after 10 s) this value is bigger than previous one ,then It saves new value otherwise loop will be continue.If again after (10s) the new value is bigger than  previous  new value then again saves this new point.how can i comapre value before and after?thanks.

 

Tadhika

 

0 Kudos
Message 1 of 4
(2,463 Views)

shfit register

0 Kudos
Message 2 of 4
(2,459 Views)

how can i use shiftregister for this??can u give me more hint??

0 Kudos
Message 3 of 4
(2,454 Views)

Do you know what a shift register is? It preserves a value from one loop iteration to the next. Please read the LabVIEW Help on shift registers. There's is also a simple example that ships with LabVIEW that will give you the basic idea (Help -> Find Examples).

 

You can also use a Feedback Node in lieu of a shift register. Same concept, different implementation.

0 Kudos
Message 4 of 4
(2,444 Views)