LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change the loop incremental sens

Solved!
Go to solution

I just would like to change the loop incremental sens.

Please let me know if you have an idea  how to do it.

0 Kudos
Message 1 of 10
(733 Views)

Hi jul,

 


@jul65651651 wrote:

I just would like to change the loop incremental sens.


What is the "loop incremental sens"?

 

When you want to scale the iterator value of a loop: apply simple math on the "i" value of your loop!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 10
(724 Views)

I tried to do it bu it doesnt work with the incrementation

0 Kudos
Message 3 of 10
(692 Views)

the incrementation sens means rather have in 1, 2, 3 i want to have 4->3->2->...

0 Kudos
Message 4 of 10
(689 Views)

Post your code and possibly explain in more detail what you want to achieve.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 5 of 10
(688 Views)

In order to change the excel cell positinning i control it with the number of the raw and the column

but for one condition i have to go back up for the raw selection 

so i decided to use it with a incrementatio loop 

However i need to change the incrementation loop 

like i previously explained 

0 Kudos
Message 6 of 10
(685 Views)

First, we can't debug pictures. Second, you picture is completely useless since does not show how the row and column indexes are calculated.

(Third, try to avoid waisting all that block diagram space).

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 7 of 10
(672 Views)

first, i cant share the vi is confidential 

second, this incrementation is a numbering for a rate i command

 

0 Kudos
Message 8 of 10
(667 Views)
Solution
Accepted by topic author jul65651651

Hi jul,

 

There is no way to natively change how "i" increments. It will always start at 0 and end at N-1, N being the total number of iterations.

If you want another index sequence, you have to do it yourself using simple maths (As @ explained):

 

raphschru_2-1724848836877.png

 

Regards,

Raphaël.

0 Kudos
Message 9 of 10
(649 Views)

Thank you

0 Kudos
Message 10 of 10
(639 Views)