Questions tagged [timer]
Timer is a component that has the functionality to trigger a user defined action at regular intervals as configured by the user.
timer
19,682
questions
1
vote
0
answers
12
views
Is this an inconsistent behavior with node.js promises?
I've tried to make a Node.js program to connect to a series of TCP sockets using promises.
The primary goal behind this was just a silly test: send a message, and wait for the socket to timeout or ...
0
votes
1
answer
31
views
(JavaScript) How to set a weekday as the starter and ender of a countdown instead of using an specific/static date?
So, I have this personal project that I'm trying to do more for studying purposes. It would be two timers to monitor two different events in a week, in which one would countdown the remain time of a ...
0
votes
0
answers
13
views
How to display scored questions qualtrics with display logic
I am making a quiz that times out after 90 mins. I used display logic on each question (if blockTimeFlag = 0) to skip to the end after the 90 mins is up but now the scores aren't displaying at the end....
0
votes
1
answer
29
views
Blazor, PeriodicTimer with Async Methods and IDisposable-- is this correct?
Short version: does the following look thread safe to you?
The following pseudocode is simplified from working code. It updates a SQL database entry every 10 seconds, only if a change has been made ...
0
votes
0
answers
18
views
How to stop a camel route after an Exception and restart it again after waiting a while
I have a Camel application that uses a timer to periodically check if a soap endpoint has messages waiting. If this is the case, these messages are consumed, transformed and put on an AMQ topic. I ...
0
votes
2
answers
51
views
Timer Increments By One Whenever User Tries To Reset It Back To Zero In Android
I made a standard stopwatch app in Android Studio using jetpack compose. It gives the user the ability to reset the stopwatch back to zero, however there is a problem. The stopwatch will reset back to ...
1
vote
0
answers
30
views
Captures keep giving me the same value when enabling both channels of TIM4 in Input Capture Mode
Hardware:
Test bench that generates two PWM signals ( A and B )
Cable that connect the test bench to the other board
Other board that retrieves the PWM signals (Port D pin 12 and 13 ) and has to ...
0
votes
0
answers
24
views
While getting the time from the RTC on the ESP32, there are gaps in milliseconds
I am using a timer interrupt on the ESP32 that triggers every 1ms. However, when I read the millisecond time from the RTC, there are gaps between the millisecond values.
How can I solve this issue? I ...
0
votes
1
answer
34
views
AHK Multiple clocks showing time from different time zones
Good day,
I'm trying to create a script for AutoHotKey (AHK) which would show in a GUI multiple digital clocks (with different time zones). I already created a simple script with 3 different clocks ...
1
vote
1
answer
59
views
How to properly read PWM Duty Cycle using Two Timer (TIM4) Channels?
Library used: Standard Peripheral Library
Hardware:
Test bench that can generate two pwm signals ( A and B )
Cable that connects the test bench to the other board
Other board that should read the ...
-1
votes
0
answers
19
views
How to send a running Task into an indefinite block state from another function?
Project: I have a Task1 that will be printing a message into the serial monitor.
I'm using a software timer that will start and after 5 seconds it will expire and send Task1 into a block state so that ...
0
votes
0
answers
17
views
How to include require:timer in the 200 OK message after receiving an UPDATE message in freeswitch
FS :Version 1.10.11-release 64bit
I need to reply to the IMS server when receiving an UPDATE message and add require:timer to the message.
I also used
<action application="set" data=&...
0
votes
0
answers
27
views
Simple Android Timer App runs until API33 but crashes with API34 or 35
I wrote a simple android app in Android Studio. It shows a button that starts a timer that plays a sound every X minutes until stopped with another button.
I use the following code that ran fine up to ...
0
votes
2
answers
64
views
Bash child scripts - Timer interuptable by signals - read, timeout and sleep doesn't work
So, I'm on Arch Linux, running i3
I have a slideshow script that changes the background every 5 seconds. And I have a bunch of signals, such as toggle, next, previous, faster, slower. I have all of ...
0
votes
0
answers
31
views
No PWM output on STM32WLE5
I'm trying to generate PWM output on RAK3172-SIP built with STMWLE5CCU6 without success. My goal is to generate PWM outut on PA8 and PA9, but for the moment I can't generate PWM on one pin...
Here is ...