The article is devoted to computer modeling, visualization, and synthesis of a digital antenna array used for transmitting and receiving signals in industrial applications. The paper proposes an iterative method for the amplitude-phase synthesis of an antenna array according to the requirements for the envelope of the side lobes. The proposed method allows to determine the complex amplitudes of the elements of a digital antenna array for any given weight function, based on the theorems of matrix theory. The difference of the method lies in the iterative procedure for choosing the weight function, taking into account the excess level of the side lobes of the digital antenna array. In this regard, in the course of solving the synthesis problem, a weight function was found that leads to the fulfilment of the requirements for radiation patterns and does not lead to a decrease in the directivity coefficient. The signal-to-noise ratio was used as a criterion. For the first time, an analytical expression is given for the formation of a weight function in the course of an iterative process that takes into account the requirements for the envelope of the side lobes. The operability and convergence of the proposed method was confirmed in the course of numerical studies on the example of a digital antenna array. The performed numerical analysis confirmed the effectiveness of the proposed synthesis method.