This is done by relying on the fact that the generic gui orders the meters according to their port indices.