The algorithms simulating cw Doppler wind lidar operation in the turbulent atmosphere are described in the paper. The algorithms are realized in the LabView environment. The computer codes include parts simulating the atmospheric turbulence, lidar return signal, and signal processing to extract information on the mean wind and its turbulent characteristics. The codes developed are a virtual tool allowing one to perform effective statistical planning of experiments on sounding the wind turbulent field under different conditions in the atmospheric boundary layer.