LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Lookup table in Labview 7.1

For a particular input voltage, the output is distance in cm. For example if the the voltage is 6.2mV the output should be 2.5cm, for 6mV the output is 6cm. Whenever an input voltage between any of these values is given, the output should be interpolated and displayed in cm. I would like to maintain a lookup table for this purpose in Labview 7.1. The graph between input and ouput is a linear graph. I would to know how to create a lookup table and configure it in Labview 7.1..
0 Kudos
Message 1 of 13
(11,864 Views)
A lookup table can be an array, either a diagram constant or a front panel control with vaules saved as default.

If the process is linear, you could enter the slope and intecept values and calculate the values from that. I think you can set custom scaling in DAQmx which would allow your readings to come out directly in distance units.

Lynn
Message 2 of 13
(11,852 Views)
my experiment is calculating linear displacement using photovoltaic cell. i have the experimental values. and according to the theory , the voltage and the displacement must vary linearly. but due to disturbances and errors, they may not vary linearly at some points. how should i proceed? please suggest....
0 Kudos
Message 3 of 13
(11,847 Views)
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.