I have a look up table as below of a non-linear function :
X-Value Y-Value(low) Y-Value(High)
500 5.6 6.0
1000 6.8 7.3
1500 6.9 7.3
2000 7.2 7.5
2500 7.5 8.0
3000 6.8 7.4
3500 6.3 7.0
4000 6.0 6.9
In real time I am plotting both X and Y values from the field. And for every X-value actual ( sampled once every 50ms),I have to use the above look up table to find if the Y-Value satisfies the condition
Y_Val(Low) < Y_Val(Actual) < Y_Val(High).
I have been reading other posts on interpolation in this forum also. And tried using the 1-D array interpolation with some gimmicks. But still the final and maybe an elegant solution eludes.
Thanks for your time.
Raghunathan
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.