LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

formula node to integrate

good afternoon,
 
i need a help from anyone regarding writing a function .i need to integrate a function but i cannot find the right syntax to do so. CAN i do integration using formula node or need to use math script? wat is the syntax for integartion? hope can get a simple example thanks?
0 Kudos
Message 1 of 7
(4,636 Views)
What is your function or formula? You can calculate almost any formula using LabVIEW functions, but some people prefer the formula nodes.

Robot wink
0 Kudos
Message 2 of 7
(4,609 Views)

K * (1/S)

0 Kudos
Message 3 of 7
(3,833 Views)

Hi Mesqunu,

 

this formula looks like a simple multiplication to me...

Where is your"integration" part?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(3,825 Views)

No, there is no array integration in formula node functions. Math script or integral.vi

0 Kudos
Message 5 of 7
(3,816 Views)

I don´t understand why the following integral ( Untitled_integral.Vi )shown ' 0 '. Can you help me? 

0 Kudos
Message 6 of 7
(3,800 Views)

@Mesqunu wrote:

I don´t understand why the following integral ( Untitled_integral.Vi )shown ' 0 '. Can you help me? 


Your array is initially empty, and no multiplication or addition will magically append elements to it. Turning an empty 1D array into a 2D array using "built array" just gives you you an empty 2D array.

 

Are you trying to append new data to the existing array? In that case you need to hook things up quite differently, but then you should also not run this loop as fast as the computer allows or you'll run out of memory very quickly.

 

Start with some tutorials. You'll figure it out!

0 Kudos
Message 7 of 7
(3,796 Views)