The solution to this could be very simple and maybe I missed something obvious in the tutorials, but I've been racking my brain all evening and I cannot seem to find the answer. I need help!
I am trying to show, in a text box, the sum of three different variables (let's call them Variables 0001, 0002, and 0003). Is there a way to do that?
Here's my setup: I have three different devices that you can use to set various amounts. Each device allows you to set an amount to 10, 20, or 30.
Each device controls its own variable: the first device is Variable 0001, the second is Variable 0002, and the third is Variable 0003.
I have it set up where, if you decide to change the amount on one of the devices after you've already set it, the variable for that device is reset to 0 before you pick a new amount. I did it this way because if all three devices were tied to the same variable, then once I reset the variable ALL the devices's amounts would be reset instead of just the one. Make sense?
So each of the three devices runs on its own variable system. There is a fourth device that I want to check the sum of the three devices' variables and display that in a text box. Is there a way to show that? I DON'T want it to say: Total=10+20+30. I want it say Total=60.
Any help would be greatly appreciated!
I am trying to show, in a text box, the sum of three different variables (let's call them Variables 0001, 0002, and 0003). Is there a way to do that?
Here's my setup: I have three different devices that you can use to set various amounts. Each device allows you to set an amount to 10, 20, or 30.
Each device controls its own variable: the first device is Variable 0001, the second is Variable 0002, and the third is Variable 0003.
I have it set up where, if you decide to change the amount on one of the devices after you've already set it, the variable for that device is reset to 0 before you pick a new amount. I did it this way because if all three devices were tied to the same variable, then once I reset the variable ALL the devices's amounts would be reset instead of just the one. Make sense?
So each of the three devices runs on its own variable system. There is a fourth device that I want to check the sum of the three devices' variables and display that in a text box. Is there a way to show that? I DON'T want it to say: Total=10+20+30. I want it say Total=60.
Any help would be greatly appreciated!