From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-13-2018 10:34 AM
And what is that value you are setting it to?
08-13-2018 10:35 AM
@RavensFan ha scritto:
And what is that value you are setting it to?
I tried 5, 10, 50. All integer value
08-13-2018 10:40 AM
And did you run highlight execution?
If you have value=5, The first comparison in that loop is i<= value. Since it is the first iteration, i =0. So i <= value becomes 0<= 5. TRUE! True goes to the OR then the stop conditional terminal. Loop is done after that first iteration.
Perhaps you wanted >= ??
08-13-2018 10:54 AM
@Ivv wrote:
@RavensFan ha scritto:
And what is that value you are setting it to?
I tried 5, 10, 50. All integer value
Perhaps you want an integer and not a float. Make the terminal and wire blue.
08-13-2018 11:33 AM
@Ivv wrote:
I have a problem with this i, i's value isn't passed to the Tank variable and block this Loop work.
Can you help me?
I would like changing my work from this
To this modul
OK, instead of attaching gibberish code, take a step back and tell us what the program is supposed to do. I doubt any of your local variables are needed. There is nothing to "fix", because this needs to be rewritten from scratch with proper dataflow in mind. Won't be hard!
So, answer one question:
If the program is running, what is the user supposed to see and how should the program react if the user does nothing or changes each of the controls?
Simple as that! 😄
08-13-2018 01:25 PM
ok ... I'm a donkey. Thanks so much
08-13-2018 01:32 PM - edited 08-13-2018 01:34 PM
@Ivv wrote:
ok ... I'm a donkey. Thanks so much
(Such a cute translation.)
No, you are NOT an @$$. Everyone does this kind of stuff because we're all human.