setpoint error checking