I am measuring water levels in rivers and the conversion to flow is done using a table in which for each level I have a flow value with an interval of 1 cm from 0 to 5 meters.
What options are there to incorporate this table into the datalogger so that it searches for the measured level in the table and returns the equivalent flow rate.
Currently I do it with polynomial formulas but the result is not precise enough.
Thank you so much
This post is under review.
Create a lookup table in the datalogger's memory that contains the water level values and their corresponding flow rates. When a new measurement is taken, the datalogger can search the table for the closest matching water level value and return the corresponding flow rate. This approach provides a direct mapping between the measured level and the flow rate. @tunnel rush
Thank you
villagersweets
Your suggestion worked perfectly for me.
This post is under review.