i used it to display a histogram for 5 seconds, then display another histogram for 5 seconds then display the sum of the two histograms but I’m getting a blank canvas for 10 seconds instead. Is it related to the Sleep function which you suggested or the problem is elsewhere. What alternative methods to hold the program can be used?