LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

logical thinking error

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!! 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(701 Views)

Something like this?

 

2forCapture.PNG

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 3
(670 Views)
0 Kudos
Message 3 of 3
(662 Views)