A docking method for an ophthalmic system may include the steps of aligning a docking unit of the ophthalmic system and an eye; generating an image of an internal structure of the eye by an imaging system; improving an alignment of the docking unit with the internal structure of the eye in relation to the generated image; and docking the docking unit to the eye. The generating the image step may include computing scanning data by a processor corresponding to a scanning pattern; storing the scanning data in a data buffer; transferring the scanning data by the data buffer to an output module; outputting scanning signals by the output module to one or more scanners based on the scanning data; and scanning an imaging beam with the one or more scanners according to the scanning signals.