LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

maxium value of each iteration while loop

Hello,

 

I have a problem with my VI. I need to measure a rpm. I created a program using a trigger and gate but I need to measure only last value of iteration loop ( the higest score is always constat to actual frequency. I attached the picture to clear my problem. I will be thankfull for any suggest and idea to resolve the problem.

Download All
0 Kudos
Message 1 of 2
(2,521 Views)

Dear Mrssss,

If you want to remember the last value of each iteration of the inner while loop, just wire outside the speed signal into an other shift register on the outer while loop. This will keep the value. 😉

 

See the attached picture.

 

Best Regards,

 

Tamas Szekely

Applications Engineering

National Instruments

 

 

0 Kudos
Message 2 of 2
(2,450 Views)