LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reversing set of mathematical equations VI?

Hi All..

I want to perform a mathematical process which has symetric parts. For example, perform  A=i+(i+1), when A=B reverse the calculation..
If you have look attached VI that I m trying to construct  it s easier to understand what i mean.  Is there any easy way to reverse a VI that performs a mathematical calculation?
thanks
0 Kudos
Message 1 of 7
(2,931 Views)
Hi looser,

here's my solution 🙂
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,925 Views)
I can not open it with 7.0 😞
0 Kudos
Message 3 of 7
(2,917 Views)
Hi looser,

I already noticed this - please do note your labview version when you upload a vi!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 7
(2,915 Views)
worksss.. multi thanks.. .
it ll take sometime for me to understand to understand this clever vi 🙂
0 Kudos
Message 5 of 7
(2,910 Views)
Hi looser,

instead of 'reversing the mathematical function' I just change the increment to positive/negative.
Please keep in mind: NEVER test floating point numbers for equality - use ALWAYS '>=' or '<='! Floating point numbers have only limited precision, so you get rounding errors very fast after repeated adding operations...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(2,905 Views)
thanks for advice
0 Kudos
Message 7 of 7
(2,883 Views)