I think there is no such example.
But i think you could add a while loop structure outside your main program. In the front panel, add a button named change sampling rate, when you press the button, the program stops the present acquisition and into a new acquisition configuration and start acquisition.
Thank you!
I will try!::manhappy: