This paper describes the implementation details of a coded structured light system useful for one-shot measurements of a surface. Since a unique pattern is projected, the technique is useful for measuring moving surfaces. A pattern based on grid structure is used. The main advantage of such structure is that redundant codification is applied to the cross-points. Since both pattern axis are coded, decoding errors can be corrected thanks to the proposed algorithm. Moreover, not only the cross-points of the grid can be reconstructed but also the pixels belonging to vertical and horizontal slits. A description of the segmentation and decoding stage is given in order to take profit of the advantages of the pattern codification.