ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

loop to array in a loop for multiple arrays

Solved!
Go to solution

Goal:

Input data (x,y) and plot bar graph.Then take this data and make a Gaussian array for each X position with intensity Y. Sum Gaussians to make a single array of the sum of Gaussians.

 

Thoughts. Make X data array. Put that through a loop to get a Gaussian. Need help to summing Gaussians.

 

Thanks for any help!,

JK

Download All
0 Kudos
Message 1 of 4
(2,939 Views)
Solution
Accepted by topic author JohnKellyPhD

Is this what you are looking for?

Note I did not go through your VI, it can probably be simplified, mostly likely by someone whose initials are CA. 😉

 

Snap13.png

0 Kudos
Message 2 of 4
(2,912 Views)

Wow. That was awesome! Out of curiosity, was this is simple fix and a new user error?

 

-JK

0 Kudos
Message 3 of 4
(2,885 Views)

Relatively simple; mostly indexing array errors.

 

mcduff

0 Kudos
Message 4 of 4
(2,881 Views)