LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add signals under for loop?

Hi:

 

I am trying add signals those are created under for loop.

 

If  N=5 (say),

 

5 different signals would create. I like to add all of them and Get one final signal. Please see the attachement.

 

May be shift register would help here, but I am confused to use it.

 

If anybody can help.

Thanks

MOin

 

Moin
0 Kudos
Message 1 of 3
(2,892 Views)

Place the first signal into the shift register at the first iteration. In the following iterations, add the new signal to the shift register array until you're done.

 

Here's a quick example.

 

Note that since you are auto indexing on the outer loop, you should not wire N. There are many ways to do all that.

0 Kudos
Message 2 of 3
(2,882 Views)

Sorry, math error. Here's the correct formula (I hope, please verify...). 🙂

 

 

0 Kudos
Message 3 of 3
(2,878 Views)