Mo,
It might be helpful if you can supply a bit more information about what type of data you are generating and how it is being used later on. You might be able to do this more efficiently with one loop. For example you could use a running counter in your loop (store a value into a shift register and add one to it every loop iteration) and a Case structure to execute part of the code (that's inside the case structure) only every nth iteration of the loop. Inside the case you would also reset the counter to zero.
Christian L
NI Consulting Services
authored byChristian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX

