08-08-2011 08:48 PM
I have three conditional variabls and I want to change the tank amplitude on the basis of these variables.
Let a,b and c are three conditional variables
If a>b; tank amplitude is 2
If a=b; tank amplitude is 4
If a<b; tank amplitude is 8
Thanks
Best Regards
Muhammad Abul Hasan
08-08-2011 09:55 PM
08-09-2011 03:30 AM
If I have two variables only a and b than I can use event structure but for three conditions I dont know what should I use.
08-09-2011 10:07 AM
08-09-2011 03:00 PM
Can you show a simple block diagram>
08-09-2011 03:12 PM
Take the 'A' variable and wire it directly to the selector of a case statement. Very, very simple action. Then, look up the help for the case statement to see how you can set the values for each case. Hint: the values can be a range.
08-09-2011 03:33 PM
Here is what I would do
08-09-2011 03:38 PM
Well, I'm not going to post my solution since I think this is homework. I've mentioned integers to the op a couple of time but got no response. Integers would require nothing but the case statement. In this case, the equal comparison with floats is going to be problematic.