Use a while loop with a "false" wired to the loop conditional, so it only
executes once. Use a shift register to hold the flip-flop state and feed the
contents of the shift register to the output Boolean. Use a case structure
or somesuch inside the loop so that when one input is true the shift
register is loaded with a true, when the other input is true the register is
loaded with a false, and when both inputs are equal the shift register is
simply passed through. Make the VI re-entrant so that a new internal copy is
made for every place in the code you call it.
Daz wrote in message
news:50650000000800000000190000-984882144000@quiq.com...
> I am trying to creat a function that acts as a flip-flop circuit i.e.
> a momentary pulse sets the output perment
ly high and second momentary
> pulse on a second input set the output low. How can I achieve this.
>
>