nanovna-v2/NanoVNA-QT

question: auto sweep FSM

hartytp opened this issue · 0 comments

I'm trying to understand the logic in the autosweep FSM. As far as I can tell it's roughly:

  • collectDataState = 0 waiting for a measurement to be requested
  • collectDataState = 1 wait for the start of a sweep to come around
  • collectDataState = 2 sweep finished
  • collectDataState = 3 wait for all values for an extra 5 frequency points to come through

What's the motivation around the collectDataState = 3 state? Why 5 more points? Any pointers appreciated!