Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Defining a look up table that i can change while running the VI on FPGA

Hi,

 

First of all: I'm new to Labview.

 

Hardware:

sbRIO 9632

 

Problem:

Reading a Torque Encoder from a Analog Input(0-10V). Using a Lookup table to detirmine the Output. The Output is a Analog Output(0-10V). The Lookup Table must be reconfigurable while running the VI, or must at least not be recompiled after changeing. I dont need to have too manny configurable Points. 16 would be enough if i could interpolate in between.

 

I did find out that there is a VI called look up Table 1d, but i didnt really understand the usage of it. I think i should define the table by using a vi in order to make this lookuptable reconfigurable, but i dont know how to do that.

 

Another problem is, that i dont know if i have to convert the values i've read from the AI in order to use it with the look up table.

 

I hope that you can help me with that by giving some hints how to use the Look up table 1d vi, or how to achieve the same result without it(maybe with a Array??).

Some example codes would be nice!

 

Regards lugges

 

0 Kudos
Message 1 of 4
(4,372 Views)

Hi lugges,

 

I think the discussion below will answer your question.

 

http://forums.ni.com/ni/board/message?board.id=280&message.id=8429

 

Regards

Rüdiger

0 Kudos
Message 2 of 4
(4,351 Views)
0 Kudos
Message 3 of 4
(4,349 Views)

Hello,

 

I would like to know how to make changes in the look up table with changes in the frequency in the function generator? Do I have to consider the phase changes?

0 Kudos
Message 4 of 4
(3,515 Views)