an optical profiler is modified in a way which allows it to image a mems device at various points during the movement of the mems device . the light source is synchronized with a desired movement of the mems device . the light source produces pulse at each synchronization period . during each pulse , an interferometric measurement is carried out . so long as the pulse is short enough such that the device does not move significantly , a detection of the position of the device can be accurately obtained .