thanks Steve,

So this would require a pause of 1 second if the reading is zero? I can't afford that kind of delay. Is there another way?

Mark