NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
splee
Posts: 134
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..

Proven Zealot
GerdW
Posts: 7,156

Re: "Lookup table" with interpolation

Hi splee,

 

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

Best regards,
GerdW


CLAD, using 2009SP1 + LV2011SP1 on WinXP+Win7+cRIO
Kudos are welcome :smileywink:
Active Participant
PhillipBrooks
Posts: 1,106

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: 22,886

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 . Oh, by the way, I work for peanutsKudos .

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page