LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Emulation of the operation of an RS flip flop

I need to implement the set/reset function of a typical RS flipflop. Wiring nand gates in Labview gives me a circular wiring error. How can I get around this?

My application is for a panel boolean controller which needs to be reset as the VI ends.
0 Kudos
Message 1 of 2
(3,369 Views)
You cannot wire the output of block 2 to the input of block 1 if block 2 has an input dependant on the output of block 1. A block in LabVIEW is not executed until all of its inputs are available at the terminals. You can see how all of the inputs would never become availabe at either block in your case. In order to implement feedback you will need to use a loop structure with shift registers. I have attached an example I created that implements an RS flip flop.

Matt Kisler
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,369 Views)