"I am trying to catch the highest analog signal before it drops out.."
Don't you mean "the last analog signal"?
If so, then while the flowmeter is running, grab and save the analog signal on every scan!
Then, when your rung goes true, use the last value you saved.
If, on the otherhand, your description is a little off and you really are looking for "the greatest value" of a fluctuating signal, then grab the value on every scan, however, before saving the value, compare it to your last saved value. If the new value is greater than the previously saved value then over-write the previously saved value with the new value.
Otherwise, do nothing with the current value and leave the previously saved value as is.
Are you watching both lube signals in parallel or series?
Could it be that one lube pump might be running a bit after the other turns off?
Are your lube signals auxillary contacts from the lube pump contactors or are they output signals to the contactors?
Your analog signal is more likely to be consistent if your lube signals are the output signals to the contactors.