LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting a loop to run for a set time

Vikster,

You will want to pass the next state you want to go to into a shift register so that you can transition to that state on the next iteration of the loop.  For instance it may be to the Data Acquisition phase of your program or back to the Idle state.  Depending on your application, you can read the Acquire button in the Idle state and if it is true, you can pass an enum constant of 'Acquire' to the shift register to transition to that state.  Or if the button returns a false value, you can make the enum constant 'Idle' to remain in that state.  You can also pass any other data that you want available to all of the cases through the shift registers.  Good luck!

Brian Taraba
Applications Engineer
National Instruments
0 Kudos
Message 41 of 41
(669 Views)