LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extrapolation of data with timestamps as X values

Solved!
Go to solution

Hello,

    My goal is to get a 2D array of data  and extrapolate it over a certain period of time. I have done research on labview extrapolation. I did not find much help but with what I found i was able to understand and put something like this together with my data (see attached).

   My goal is to take the 2D array of data and predict another set of data over a period of the time interval. This is what I try to come up with but Im getting anything out. please help lead me in the right direction.

 

 

extrapolation 1.png

   .

 

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

Good afternoon,

 

I ran your code in LabVIEW and was able to replicate your issue. I created an error indicator by right clicking on the bottom right of the Interpolate 2D subVI and selecting Create -> Indicator.  Running the VI again with this indicator active I recieved error number -20145. Researching this error a bit it appears it is thrown whenever you have a mismatch in array size. Make sure the number of rows matches the number of columns in your input array.

0 Kudos
Message 2 of 6
(4,196 Views)

Thanks for you reply. I tried to match the array size and i get nothing out still and I still get the same error code

extrapolation.png

0 Kudos
Message 3 of 6
(4,184 Views)
Solution
Accepted by topic author ritch_by_nature

It might help if you describe in words what you are trying to do.  One thing that confuses me a little is that you talk about "extrapolation", but the LabVIEW function that you are using is "interpolation" -- I assume you realize these are different things!

 

So what do you really want to do?  Don't provide an algorithm, but provide a description.  Tell me what, not how.  Define clearly all of the inputs, and what you expect the output to be.  What, in particular, are X, Y, and Z?

 

Bob Schor

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

Labview doesnt not have an extrapolation function. I know the difference between the two but I thought this function was usable for both inter and extrapolation. I guess I should be using linear fit then forcast that data.

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

Yes, that would be a form of extrapolation ...

 

BS

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