LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binary lookup table with values

Hello,

 

 

I am creating a lookup table of 1D.............its looks like this

 

 

00000000--------1435.0

00000001--------1445.5

00000010--------1446.0

!
!
!
!

11001000--------1535.0

 

Some 200 values

 

 

now the input to LUT is binary only.........coz iam getting serial binary data.........i have to comapre this serial binary data with the LUT and display the corresponding frequency..............

 

 i am trying but iam not getting any output........ please help me out this issuse...

 

thank you

0 Kudos
Message 1 of 9
(4,225 Views)

Hi sunil_v20,

i recommend using two 1D arrays, one with your binary values and one with the corresponding values. With this you can use the "Search 1D Array" function combined with index array.

 

Mike

0 Kudos
Message 2 of 9
(4,223 Views)

Hello Mike,

 

Thank you for ur reply.......iam creating LUT using Control Design and Simulation toolkit.....in this there is LUT of 1D, 2D and 3D LUTs..........

 

Moreover LUTs should be binary values.......................let me try with Arrays......but iam getting how to create binary arrays...........

 

 

please let me know how to proceed to solve this problem

 

Thank you

0 Kudos
Message 3 of 9
(4,215 Views)

Hi,

 

There are different possible ways how to do it, for example:

 

 

Andrey.

Message Edited by Andrey Dmitriev on 11-21-2008 01:22 PM
Download All
0 Kudos
Message 4 of 9
(4,209 Views)

Thank you.......i got have an idea.........ur VI has helped me to understand and do the LUT better

 

Happy Day

0 Kudos
Message 5 of 9
(4,183 Views)
This topic looks somewhat familiar...Smiley Surprised
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 6 of 9
(4,172 Views)
Indeed. Sunil: please stop posting the same question multiple times.
0 Kudos
Message 7 of 9
(4,161 Views)

HI,

 

its not my intention to post multiple times.......i just asked two ways on same topic.......All these days iam working on XILINX tools along with Mentor Graphics.........I am learner trying to code with LabVIEW......I am trying to find some info on what to do NEXT??????

 

If incase this is wrong please accept my opology........

0 Kudos
Message 8 of 9
(4,122 Views)

Hello Sunil..

 

Is your problrm  solved? Don't hesitate to contact us in case of further issues.

 

Gaurav

0 Kudos
Message 9 of 9
(4,105 Views)