Questions tagged [timedelay]
225 questions
0
votes
1 answer
Display an image after a time delay on html canvas
I have an animation that when finished produces a still image. I want this image to be displayed for around 5 seconds before changing to another still image. I have tried various implementations of setTimeout to fix this but it hasnt worked for…

Smithy
- 771
- 10
- 29
0
votes
1 answer
Longer Time Delay When More Then One "while" Polling Instruction
Microcontroller : ATmega328P in Arduino Uno
Clock Frequency : 16MHz
void timeDelay_CTC(float sec, unsigned char times) //0.1 <= sec <= 4
{
OCR1A = (sec / 0.000064f) - 1;
TCCR1A = 0b00000000;
TCCR1B = 0b00001101;
for(…

Casper
- 4,435
- 10
- 41
- 72
0
votes
2 answers
Time delay in python/pygame without disrupting the game?
I was writing the code for the introduction to a game I was making, here introduction being blitting a series of images with a time delay of 4 seconds in between them. The problem is, using the time.sleep method also messes with the main loop and…

Harbinger
- 3
- 1
- 2
0
votes
1 answer
Adding time delay for multiple text message C#
We want to split messages into multiple (sms)text messages if the characters exceed 136.
But we also want to make sure that the second message arrives after the first, and before third.
So far, from the few tests We've done, it seems to work like…

user3542112
- 253
- 1
- 4
- 13
0
votes
1 answer
Certificate validation time delay when VPN is turned on
I've faced with problem with time delay during certificate validation. I'm using WIF and JWT Token Handler extension for my claim-based authentication. And in case VPN is turned on I have time delay(about 20 seconds) during certificate validation.…

aturch
- 53
- 3
- 8
0
votes
1 answer
How to add a delay when Mouse leaves the current cell in WPF table?
I need help with writing a delay code to add an effect to my mouse_hover when it leaves a cell in a table.
When the mouse enters the cell, it colors the border to green. When it leaves the cell, the color must slowly fade back to its original color…

Darth Coder
- 1,738
- 7
- 33
- 56
0
votes
1 answer
Delay in running a command in a shell script
I have written a shell script which includes some commands to collect various Test logs.But I want to put waiting time before a particular command so that it will run after 30 mins after starting the shell script.Anyone having the knowledge…

user3627319
- 395
- 3
- 10
- 19
0
votes
1 answer
Time delay of audio signal
Here is the scenario:
I'm generated a signal which is: 200ms @ 2kHz 1000ms of zeros 200ms @ 2kHz
and i want to calculate the time delay between them, not between the two synthetic audio part. but by playing the signal on a speaker and recording it…

Ran
- 165
- 1
- 4
0
votes
1 answer
A simple countdown number screen to andengine game
I am working on andengine framework, What I want is a simple scene that display countdown numbers text from 1,2,3 or 3,2,1 when play button pressed and before the game scene (between play button and GameScene) start. I am bit confused, do I have to…

Mohtashim
- 359
- 1
- 3
- 15
0
votes
4 answers
jquery delay effect
I am developing a mega menu for an ecommerce site. I have uploaded the current version here: http://www.nicklansdell.com/menu/. The menu works great with or without javascript at the moment. What I would really like is to improve the usability when…

mtwallet
- 5,040
- 14
- 50
- 74
0
votes
0 answers
How to wait for an incrementation in js or jQuery?
I'm working on a script which handles a local/distant synchronisation of files (check/delete/download).
This is working quite fine, but I struggle to know when the tasks are finished.
Therefore, I have an incrementation of the tasks to perform.
I…

Yako
- 3,405
- 9
- 41
- 71
0
votes
1 answer
Delay time when exposing in Xlib
I'm trying to work out a time-delay to display steady flickering. I didn't get it to work with sleep() or time.h, what seems to be logically.
How could I achieve something like, displaying a white rectangle for 10 seconds, then clear this area (also…

k t
- 343
- 5
- 15
0
votes
4 answers
How to execute a funtion after a time delay in php?
I have created a button called "Generate" , when click event is performed it should start a timer after reaching 60 sec it should perform an if statement. I tried the following code but its not working.
if(isset($_POST['generate']))
{
…

Ajai Sandy
- 107
- 1
- 2
- 11
0
votes
1 answer
Delay Function on Android Project
I have an Activity that I want to run a Delay Function when it runs. I [i]don't[/i] want a delay in OnClick function, I want delay when activity [i]starts[/i].
I have tried the following solutions :
How to set delay in Android onClick function
How…

Mahdi Abdi
- 682
- 6
- 27
0
votes
0 answers
Managing delivery of form data
I'm currently building a website with a form integrated to a specific page where people can leave their contact information. The website is constructed in PHP.
After submitting the form, the data is send to a database & I receive an e-mail that a…