CLOCK AND TIMERS (1 Viewer)

dubiousp

Member
Local time
Today, 10:14
Joined
Mar 6, 2020
Messages
86
Good morning my current form has a live clock on it which uses the timer on form load.. There are then a series of tabbed pages, one of which I would like to show a counter that counts to 30 at 2 beats per second then holds for 4 seconds then recounts.. yes a cpr timer

It would be really good if I could count the differing cycles
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 17:14
Joined
May 7, 2009
Messages
19,229
create a hidden form and use its timer event.
 

Ranman256

Well-known member
Local time
Today, 05:14
Joined
Apr 9, 2015
Messages
4,339
2 beats/sec = 500.
Set the timer interval = 500.

The event would be to change the color of a box, like a strobe.
TxtBox.backcolor =vbWhite
Then TxtBox.backcolor =vbRed

Put in a counter to increment every second (1000 ticks)
After 30 ,pause the strobe.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 17:14
Joined
May 7, 2009
Messages
19,229
here is a demo, open Form1.
 

Attachments

  • multiTimer.zip
    24.5 KB · Views: 145

dubiousp

Member
Local time
Today, 10:14
Joined
Mar 6, 2020
Messages
86
Thats given me the steer, I have just copy and pasted but will alter eventually.. Compression rate is good next stage for me is to add in the four seconds a seperate count of 2 then a counter to count cycles
 

Attachments

  • CDM1R211aTAB.accdb
    1.5 MB · Views: 133

Users who are viewing this thread

Top Bottom