LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formula Node and Array Calculations

Solved!
Go to solution
Solution
Accepted by topic author Alexis_Koul

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 12
(455 Views)

Dear GerdW,

Thank you GerdW!! I just realized my mistake!

0 Kudos
Message 12 of 12
(450 Views)