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 error

Solved!
Go to solution

I am trying to compute the integral of 3x^2 in the range 0-1 with step 0.01 using the Numerical integration VI. I am getting a data mismatch error with the array output when I connect it to the VI. Why is that so? Thanks. 

0 Kudos
Message 1 of 4
(3,361 Views)

your vi is in labview 2018, try to upload if any lower version vi.

i can't able to open your vi.

 

Please Refer to the 1D Explorer VI in the labview\examples\Mathematics\Optimization directory for an example of using the Integration VI.

I think this can solve your problem....

 
 
0 Kudos
Message 2 of 4
(3,347 Views)
Solution
Accepted by dbhadra

Remove the "built array" after the FOR loop. (The auto-indexing output tunnels already makes you an array).

 

Maybe do a few tutorials first?

0 Kudos
Message 3 of 4
(3,339 Views)

thanks for the solution

0 Kudos
Message 4 of 4
(3,007 Views)