From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,083 Views)
Solution
Accepted by 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,056 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,029 Views)

Relatively simple; mostly indexing array errors.

 

mcduff

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