I'm having trouble seeing the forest throught the trees here....
I have an analog voltage input that I need to convert to
pressure. Between 0 and 10 volts, there are 25 different linear
transfer functions that will be used for this conversion. What is
the best way to choose which transfer function to use? A nest of
25 if/then cases? An enumerated list case structure? In
text programming it would be something like:
if 0<V<0.5;
m=1
b=1
if 0.5<V<1;
m=1.1
b=1.5
end if
P=mV+b
Only there would be 25 if statements.....
Thanks in advance for any suggestions.