05-24-2022 08:04 AM
Hello everyone,
im having a thinking error i guess and i really need some help because im stuck there for a while now.
So i made a very simple VI to show what im doing, the VI has just two for loops inside each other, so the N of the first loop i called: Number of y-frames and the N of the second loop i called Number of X-frames
example of what is happening now:
Lets say Number of y-frames: 3
Number of X-frames: 3
so the i of the second give the values: 0,1,2 ==> 0,1,2 ==> 0,1,2
MY GOAL:
Lets say Number of y-frames: 3
Number of X-frames: 3
so the i of the second loop give the values: 0,1,2 ==> 2,1,0 ==> 0,1,2 (so im always taking the last value and going either up to the max or going down to the min)
I hope that i showed the problem clearly and im really sorry if the question seemed to easy, but i need this to do somthing in my code and i have been really trying for a while now with different calculations but im not getting it 😕
Thanks a lot for every help!!
05-24-2022 09:20 AM
Something like this?
05-24-2022 09:35 AM