HART level measurement