Hi To stop the scopes signal generator you can either call the Stop function, though this will also stop any capture being run, or you can call the SetSigGen function again with a 0 V amplitude to effectively stop it. The shots variable could also be used to have the signal generator automatically s...