LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Look Up table vs equation calculation



Hi all.

I am developing an application which needs to be as real time as possible so i am loking at the shortest processing time and the least resource used.

I am cntrolling some Hysteresis brakes an i have their calibration data which i need to feed into Lab View somehow.

i can feed them in as a look up table with about 80 data points or i can fit an equation to these points and use that equation to determine my values.

Which one is faster and consumes less resources? my suspision in that LUT is faster but I need to be sure of that.

Cheers

0 Kudos
Message 1 of 2
(2,510 Views)
Looking through an array of only 80 points is going to be very fast. Without knowing what your equation is, it's really hard to say which way would be faster. Your best bet would be to just try each method and see what works best for you.

Ed


Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 2
(2,501 Views)