08-26-2005 06:41 PM
08-26-2005 08:03 PM
08-26-2005 10:13 PM - edited 08-26-2005 10:13 PM
Message Edited by mikeporter on 08-26-2005 11:13 PM
08-27-2005 01:07 AM
08-29-2005 05:07 PM
08-29-2005 05:31 PM
I am not sure what you mean by 'interstate' but I've revised your VI as I understood it. If that's not good for you please clarify.
Maybr you tried to signal to the "stop" button and got an error? If this is the case, you need to change it's mechanical action from a 'latch' type a 'switch', and then reset the button back to FALSE inside the event case (as I did for your "x or Y" indicator).
08-29-2005 05:34 PM
What is an "interstate value" or "-variable"?? I am not familiar with that term. A logical OR with a diagram constant that is FALSE just returns the state of the other input. What is the point?
"X or Y?" is currently an indicator. You should make it a control and replace the boolean diagram constant with it. See attached.
08-29-2005 05:46 PM
Sorry. i did not make it clear.
"X or Y" is not one of the controls but a result from other part of my program, so I think i shoul have called it a indicater. The reason I use a logical OR to connect "false" and "stop" is I try to simplify my question.
08-29-2005 06:13 PM
You can trigger an event by writing to a signaling property of the trigger.
In this case, create a property node for the stop button, select Value(signaling), and write a true to it elsewhere in the code.
See attached modification.
08-29-2005 07:11 PM