This paper describes field tests of a light detection and ranging (lidar) device placed forward looking on the nacelle of a wind turbine and used as a wind direction measurement to directly control the yaw position of a wind turbine. Conventionally, a wind turbine controls its yaw direction using a nacelle-mounted wind vane. If there is a bias in the measurement from the nacelle-mounted wind vane, a reduction in power production will be observed. This bias could be caused by a number of issues such as: poor calibration, electromagnetic interference, rotor wake, or other effects. With a lidar mounted on the nacelle, a measurement of the wind could be made upstream of the wind turbine where the wind is not being influenced by the rotor's wake or induction zone. Field tests were conducted with the lidar measured yaw system and the nacelle wind vane measured yaw system. Results show that a lidar can be used to effectively measure the yaw error of the wind turbine, and for this experiment, they also showed an improvement in power capture because of reduced yaw misalignment when compared to the nacelle wind vane measured yaw system.