What does "comparator" mean?

Comparator: An instrument or machine for comparing anything to be measured with a standard measure; -- applied especially to a machine for comparing standards of length.

Sources