12-08-2005 08:56 AM
12-08-2005 09:26 AM
12-08-2005 09:34 AM
12-09-2005 01:31 AM
I liked the last solution by Mark
State machines are smart, but that code seemed alot more complicated.
-Christian
12-09-2005 02:40 AM
Christian
It might be possible to dramatically simplify the code by adding an inner FOR loop that runs (1) once in the default behavior and (2) twice under reset condition. See attached sketch (LabVIEW 8.0)
(One side effect is the fact that the loop cannot be stopped between "reset" and "additional reset commands" because the stop button is not read during this sequence of events. This might actually be desired ;))
12-09-2005 03:04 AM - edited 12-09-2005 03:04 AM
Nice!
But there is a problem, I need the string command outside the for-loop. (Because the command is supposed to be used another place.) If it is placed outside it only displays the final value, when the for-loop is finished, and then I miss the additional reset command. This might be the side-effect you explained...
-Christian
Message Edited by Christian_nor on 12-09-2005 03:06 AM
12-09-2005 03:20 AM - edited 12-09-2005 03:20 AM
Message Edited by altenbach on 12-09-2005 01:21 AM
12-09-2005 03:40 AM