"Current Step" global variable is not reset for each new run
The global variable "Current Step" that is used for the Progress Bar events is not reset when starting a new documentation run (at least when going through the API).
It could be reset to
0 together with "Total Steps" in
Progress Bar.lvlib:Obtain User Event.vi.
Edit: An alternative would be to add the
Initial Step.vi to the palette.
Going on a tangent, I would prefer not to use the "First Call?" primitive but go with a good old FGV with Set and Get actions instead. That makes it more obvious where we're initialising and reading, and it makes it much simpler to rerun the VI when testing.