NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
splee
Posts: 143
0 Kudos

"Lookup table" with interpolation

Hi,

I have an Excel chart which has x- and y- value (x is voltage, y is speed). I want to implement a lookup table in LabVIEW:

- store this x-y chart in VI

- and when user key in a x value, the VI should find a corresponding y value (interpolation is to be implemented).

Essentially this is a LUT with interpolation.

How can I do this? Any example?

Thank you..

Knight of NI
GerdW
Posts: 10,290

Re: "Lookup table" with interpolation

Hi splee,

 

wow, there's a ready-to-use function in LabVIEW...

Best regards,
GerdW


CLAD, using 2009SP1 + LV2011SP1 (sometimes, but seldomly even LV2014) on WinXP+Win7+cRIO
Kudos are welcome :smileywink:
Active Participant
PhillipBrooks
Posts: 1,196

Re: "Lookup table" with interpolation

See attached ( LabVIEW 8.6)

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Knight of NI
altenbach
Posts: 27,988

Re: "Lookup table" with interpolation

[ Edited ]

PhillipBrooks wrote:

See attached ( LabVIEW 8.6)


 

Side comment: You can eliminate the two bundle nodes by using "build cluster array".

 

 


LabVIEW Champion . Do more with less code and in less time .