Determine period of a periodic signal

Hey community,

I want to continuously determine the period of a periodic signal like this:
Screenshot 2023-10-30 142637

How would you do this?

michiba