Laser displacement sensor is used more and more widely in the field as detection and monitoring equipment because of its flexible and reliable advantages. The field environmental conditions are very different from the laboratory environmental conditions. To give full play to the advantages of laser displacement sensor, it is necessary to fully study the trend and degree of its influence by environmental parameters. This paper mainly through the experiment with 2 d laser sensor for on-line detection monitoring by the external environment change of the light and temperature were analyzed, and this kind of sensor in the subway information platform as a key entry point for real-time acquisition of safety monitoring orbit state, is very important to safe operation of the subway, the subway in light and temperature on interval period and seasonal change has a big difference, To ensure the measurement accuracy of this kind of sensor, it is necessary to find out the influence trend of these two influencing parameters on the measurement error.