04-25-2011 06:15 PM
I am looking for a 1D lookup table with interpolation for the points in between the ref points. I was wondering if there is anything for that in labview basic. I found "Lookup Table 1D Function" but it needs "Control Design and Simulation Module" to be purchased.
Thanks.
04-25-2011 06:34 PM
04-25-2011 07:07 PM
Thanks for the response.
The second example looks easier for me to use. But the data I am gathering (here will be X) is coming from DAQ (N samples or continuous samples) which is dynamic data and the threshold 1D array block takes data type for the "threshold y".
04-25-2011 07:12 PM
Can you show us some simplified actual code?
04-25-2011 07:19 PM
I have not insert the X and Y arrays yet. But here is how it looks like:
Thanks again.
04-25-2011 09:56 PM
What kind of data are you acquiring with your DAQ assistant? Is it a single data point? The Threshold/Interpolatearray method can only work on one data point at a time.
What you need to do is convert the blue dynamic data type wire to something usable as quickly as possible. Look at the From DDT express VI to convert the blue wire to a scalar so that you can wire it into the array functions.
04-26-2011 10:23 AM
It's the voltage of the thermistor. So supposedly should not change that much.
What I want to do is to turn a motor and get data from the motor and do some analysis on that. So I don't need to do these real time.
04-26-2011 12:17 PM
I am also trying to find how to add X and Y arrays, like the ones in the picture. but I cannot find it!!
04-26-2011 12:20 PM
@Baran wrote:
I am also trying to find how to add X and Y arrays, like the ones in the picture. but I cannot find it!!
Drop array container from array palette. Drop a numeric constant onto block diagram. Drag into array container.
Creating an array is a basic LabVIEW skill. I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
04-26-2011 12:37 PM