Hi guys,
Im newbie, so please don't punch me for my lame question
I have three tanks and mix tank and they have text field for litres. My problem is, that I don't know how to count and fill my red mix tank with sum of three tanks above.
As I said, Im newbie so Im using just easy window scripts.
When I fill the three tanks with some litres of liquid I click on the button mix and these three tanks are going down -> and in this time I want to continuous fill the mix tank with the sum of that three tanks (which are going down).
In tank1,2,3 Im using easy script:
if valve1 == 1
then
tank1 = tank1 + 1;
endif;
with 1msec.
Please! Any ideas with usage of these simple script ?
Something like if mix == 1 then mixtank = mixtank + ????...
Thank you!
Im newbie, so please don't punch me for my lame question
I have three tanks and mix tank and they have text field for litres. My problem is, that I don't know how to count and fill my red mix tank with sum of three tanks above.
As I said, Im newbie so Im using just easy window scripts.
When I fill the three tanks with some litres of liquid I click on the button mix and these three tanks are going down -> and in this time I want to continuous fill the mix tank with the sum of that three tanks (which are going down).
In tank1,2,3 Im using easy script:
if valve1 == 1
then
tank1 = tank1 + 1;
endif;
with 1msec.
Please! Any ideas with usage of these simple script ?
Something like if mix == 1 then mixtank = mixtank + ????...
Thank you!