I'm setting up a feedback loop to control a syringe pump. I have a desired function generator which continuously spits out desired pH for the current time (according to a selected function). I need to compare this desired pH to the actual pH from my pH meter but the meter has a slow response (supplying data only about once a second), Is there a way that I can only pull out a value from the function when the pH meter responds (such that the loop doesn't wait for a response from the pH meter)? I tried a delay but the response time doesn't seem to be uniform.