Method for generating a pulsed signal at positions called triggering positions of a moving element, said moving element being capable of being subjected to a relative movement according to at least two degrees of freedom, said method comprising a step of generating triggering positions, method according to which, during at least some of the movement of the moving element, the continuation of following successive steps is implemented iteratively: - a step of generating positions called actual positions, consisting of generating actual positions (PRi) of said moving element defined according to axes (Xi, θX, Yi, θY, Zi, θZ) corresponding to said degrees of freedom, the step of generating actual positions comprising a measuring step consisting of measuring, in real time, successive effective positions of the moving element, said actual positions (PRi) comprising at least said effective positions; - for successive triggering positions, each time for a triggering position (PCi) called current triggering position: • a comparison step consisting of comparing successive actual positions (PRi), generated in real time in step of generating actual positions, at this current triggering position (PCi) so as to identify, from among these successive actual positions (PRi), the actual position (Pi) closest to said current triggering position (PCi), and this within a given limit with respect to said current triggering position (PCi); and • a step of generating a pulsed signal, consisting of generating a pulsed signal for the current triggering position (PCi), if and when the two following conditions are simultaneously fulfilled: • the moving element reaches said closest actual position (Pi); and • this closest actual position (Pi) is situated within the given limit with respect to said current triggering position (PCi). - a step of generating positions called actual positions, consisting of generating actual positions (PRi) of said moving element defined according to axes (Xi, θX, Yi, θY, Zi, θZ) corresponding to said degrees of freedom, the step of generating actual positions comprising a measuring step consisting of measuring, in real time, successive effective positions of the moving element, said actual positions (PRi) comprising at least said effective positions; - for successive triggering positions, each time for a triggering position (PCi) called current triggering position: • a comparison step consisting of comparing successive actual positions (PRi), generated in real time in step of generating actual positions, at this current triggering position (PCi) so as to identify, from among these successive actual positions (PRi), the actual position (Pi) closest to said current triggering position (PCi), and this within a given limit with respect to said current triggering position (PCi); and • a step of generating a pulsed signal, consisting of generating a pulsed signal for the current triggering position (PCi), if and when the two following conditions are simultaneously fulfilled: • the moving element reaches said closest actual position (Pi); and • this closest actual position (Pi) is situated within the given limit with respect to said current triggering position (PCi). • a comparison step consisting of comparing successive actual positions (PRi), generated in real time in step of generating actual positions, at this current triggering position (PCi) so as to identify, from among these successive actual positions (PRi), the actual position (Pi) closest to said current triggering position (PCi), and this within a given limit with respect to said current triggering position (PCi); and • a step of generating a pulsed signal, consisting of generating a pulsed signal for the current triggering position (PCi), if and when the two following conditions are simultaneously fulfilled: • the moving element reaches said closest actual position (Pi); and • this closest actual position (Pi) is situated within the given limit with respect to said current triggering position (PCi).