I was going through the documents of State Machine from the studio user guide. I saw a small example in it and tried to perform the automation. its regarding using the state machine in which we need to find random numbers between 1 and 100.
I followed the process but whichever number I put it tells the number is too small.
I am also attaching the xmal file, please check it once
The Code is correct. Congratulations! To get the random no in the ouput panel add log message. So that you can always play the random no generator by knowing what the exact match value is.
The thing is even if I put the number close to 100 it says it’s too small try with bigger number , But it is suppose to give me , even I tried putting 3 digit number but it says the same.
not really just checked with state machin and got to see this solved example. Anyway that log msg idea is great, here I see the random number, but even though I put a bigger number than the value I know it still says “Your number is too small, try a bigger number”. Is my condition appropriate?
I will check immediately, in my scenario, I tried adding a log msg like you with the int.no but still, it shows me the same msg of no is too small even though I put a bigger number.