check_motor_registers()

This function searches for disagreements between the hardware (motor controllers) and the software (device list). If cmr() detects differences, it prompts the user for how to proceed, unless it is called from exp_ini.exp. In this case it follows this recipe:

cmr() writes a record to online.log which describes what has been done.

Usage: $ret = cmr();.