04-11-2008 10:41 AM
04-11-2008 11:12 AM
Both of the diagrams really show the same thing....Output true when A comes ON until B comes ON.
In that case
if ((A==true) && (B==true)) return true; else return false;
If there is more to it I am not getting it from your explanations.
04-11-2008 11:47 AM
04-11-2008 11:53 AM - edited 04-11-2008 11:57 AM
I just dont understand what your second case is...If A and B are ON then output true? otherwise false?
You should be able to use that example of boolean logic to do what you want....
Do you need a single VI to hndle both cases???
04-11-2008 12:35 PM
04-11-2008 01:07 PM - edited 04-11-2008 01:10 PM
04-11-2008 06:53 PM
04-11-2008 09:44 PM - edited 04-11-2008 09:45 PM
04-12-2008 07:32 AM - edited 04-12-2008 07:33 AM
04-12-2008 08:02 AM
Note that if:
A and B off. A Turns On. Out turn on. B turns ON. Out turns Off. B Turns Off. Out turns ON.
This is from the sentance:
---- "first case -- initially A will be ON first, then B on. The output i need is that the final output (Boolean indicator), will be set to ON as soon as A set to be ON, and OFF as long as B set to ON."
This implies that as long as b is on the output is off, but when b turns off if A is still on then the output turns on.
Is this what you are looking for, or do you want A to stay off, or is it irrelevant?