LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hi! can any1 pls let me know how to create a look up table in labview and use that in the vi.

Solved!
Go to solution
hello !
i have no idea how to build a lookup table(as v use in microcontroller) in labview and use that in vi.pls help me
txs
nitin
 
0 Kudos
Message 1 of 3
(2,849 Views)
Solution
Accepted by topic author nitin_bangalore

If the lookup table is always going to remain the same (e.g. a character generator or something similar) you can place the values in a 2D array constant on your diagram, with the input value as one column, the equivalent as the other. When you need to perform the lookup you use an index array to return all the values in the "input column", search it using "search 1D array" and use the resulting index number to index the other column's data. If the values may change, then it would probably be best to load an array control with your equivalent values from a file.

 

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 3
(2,847 Views)

hi LV,

nice idea, extremely txs

nitin

0 Kudos
Message 3 of 3
(2,836 Views)