dme is similar in principle to secondary radar ranging function, except the roles of the equipment in the aircraft and on the ground are reversed. dme was a post-war development based on the iff (identification friend or foe) systems of world war ii. to maintain compatibility, dme is functionally identical to the distance measuring component of tacan.