LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add multiple inputs in sequence in a for loop

Hi,

 

Flow sequence Diagram:

 

(A+1=B follow by -> C+1=D follow by -> E+1=F) in a FOR LOOP and the next loop will be,

(B+1=X follow by -> D+1=Y follow by -> F+1=Z)

 

It will loop till loop count ends.

 

Thanks in advance for the help!

 

cheers! 

0 Kudos
Message 1 of 22
(4,504 Views)

I don't understand what you are trying to do with your description.  How many times do you want this for loop to run?

 

Whatever you are trying to do, it sounds like you will need shift registers.

0 Kudos
Message 2 of 22
(4,500 Views)
If by "flow sequence" you mean "chart flow", you could draw it and post it to explain what the problem is 🙂
0 Kudos
Message 3 of 22
(4,493 Views)

Hi YMC,

how will it continue? What comes after F+1 = Z?

 

Mike

0 Kudos
Message 4 of 22
(4,470 Views)

thanks for all your advice. i have attached a picture for easy reference. hope it will make understanding easier. Untitled.jpg

0 Kudos
Message 5 of 22
(4,435 Views)

Hi YMC,

do you mean like this?

 

Mike

0 Kudos
Message 6 of 22
(4,432 Views)

hi Mike,

 

Thanks for your example. it was indeed helpful.

 

Is there anyway to make sure A, B and C runs in sequence. A first, followed by B and then C.

0 Kudos
Message 7 of 22
(4,401 Views)

Hi YMC,

yes! Please explain how you need it. I think you don't need a workflow in this simple example. 🙂

 

Mike

0 Kudos
Message 8 of 22
(4,398 Views)

Hi Mike,

 

C follow by B then A. This sequence will then loop in the 'for' loop accordingly to the loop count.

 

best,

MC

0 Kudos
Message 9 of 22
(4,391 Views)

Hi YMC,

use the "normal" dataflow and please explain how you use it. It sounds like you use local variables.

 

Mike

0 Kudos
Message 10 of 22
(4,381 Views)