02-05-2021 05:40 AM - edited 02-05-2021 05:41 AM
Hi Alexis,
@Alexis_Koul wrote:
Please see the results from <<Array3>>. I dont compare with zero because it didnt work, so thats why I put a value of 0.5...so element 5 and 6 in Array 3 should be zero.
Why should those elements be zero?
According to your VI you get the results as you programmed the VI!
This is a part of your VI:
In the FALSE case you check for the condition (G[i] - 0) < 0.5, which is FALSE for the last two elements!
Why is there a shift register at all in this loop, when it contains the value zero ALL THE TIME?
02-05-2021 06:13 AM
Dear GerdW,
Thank you GerdW!! I just realized my mistake!