How to Compare Value of Variables and use as Condition
-
Like I have a variable which is Lot starting with 0.01 and after passing once I increment it by 0.01
But when It reaches 2 I want to increment it by 0.05 so i want to use a condition where I can compare it if it is <= 2 then increment by 0.01 and If not then 0.05i used simple way to modify variable and it was working But this checking value and deciding the increment according to the value 2 I need Help from Experts.
Thanks
-
You can use some additional condition blocks comparing the current value of the variable with those 'limit' numbers you want. If the variable's value is below it, do this, if it above, do that.
-
@l-andorrà
Thanks. In Condition Box there is no option to select the defined variable and the one has it(terminal variable) is not working for normal variable.I kind of tried all options in Condition box there is no option to use a pre defined Constant or Variable to use in it. Can you please guide me may be I am missing something.
-
I think you can use the 'value' option, and then just manually type the name of the variable or constant.
-
@TipsyWisdom Thanks I will try that