That is an AutoRefractor.  It estimates your prescription so that the doctor has a place to start from.