LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shift register to control a sequence of digital outputs

I am trying to find a way to use a shift register or something like it to sequence through cases i have set up in a case structure. I would like to allow each case to run for a miute or two and then switch to the next, i was told to use a shift register to  do this but I am having some problems, any suggestions would be a great help. here is my vi so far:
0 Kudos
Message 1 of 2
(2,434 Views)
You may want to look at the State Machine architectures. They use shift registers and case structures for this kind of test. There are examples in the VI templates which ship with LV.

If you simply want to open your valves in a predefined sequence with a constant delay, an array of enums and auto indexing will work. See that attached modifcation of your VI.

Lynn
0 Kudos
Message 2 of 2
(2,420 Views)