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: 

numerical integration

Solved!
Go to solution

Hello,

 

I would like to ask, how is it possible to integrate numerically a function and to get all small parts (points) on the graph i have 1D array with lots of points and when i tried to use for loop for integration function i've got an error about different date types.

 

Thanks,

0 Kudos
Message 1 of 6
(4,328 Views)

Hi Senobim,

 

please attach a VI with your "lots of points" and with your "function"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(4,323 Views)

Here you go ;]

Download All
0 Kudos
Message 3 of 6
(4,321 Views)
Solution
Accepted by Senobim

Does Integral x(t).vi from the Mathematics  >> Integration & Differentiation palette do what you want?

 

Why do people use the Build XY Graph VI when a simple Bundle node will do?

 

Lynn

 

Integrated current.png    

 

 

Integrator.png

0 Kudos
Message 4 of 6
(4,296 Views)

Thank you very much!

0 Kudos
Message 5 of 6
(4,281 Views)

Hi Lynn,

 


Why do people use the Build XY Graph VI when a simple Bundle node will do?


Because they don't read the context help for graph indicators...

🙂

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 6
(4,264 Views)