I am writing a simple program that repeats itself forever until the user stops it. It samples a waveform from an oscope and when one of the waveforms meets a certain criteria it stops the scope, saves the waveforms on all four channels, starts the scope back up, and starts over again. My question is how can I delay the repeated sampling of the "trigger" waveform.The wavefrom does not change that quickly so if I could sample it every 5-10 seconds that would save my computer from incessantly computing the trigger condition. The test could run for well over a day so giving the computer a break is probably a good thing. I bet there is a very simple solution to this, but I am a noobie to programming, and am still learning a lot of the basic tricks so any help is greatly appreciated. Thanks.