Nixie tube countdown timer

Share your advanced PureBasic knowledge/code with the community.
OgreVorbis
User
User
Posts: 77
Joined: Thu Jan 16, 2020 10:47 pm

Nixie tube countdown timer

Post by OgreVorbis »

I needed a simple countdown timer (like kitchen timer). You enter the time in minutes 1 - 59 and it counts down and shows on a nixie tube clock.
It's just a virtual timer for your desktop. This is the beginning of a clock app I'm making. The other app will be an actual nixie clock, not a timer. It will also have other clocks.

If you want to mod this to exceed the limit of 59 minutes, I would love that, but I'm not sure how. It will have to draw some more tubes for that.

Image

Anyway, here's the code for quick reading:
https://pastebin.com/BfvHmDLF

But to use it, you will need this archive containing everything:
https://drive.google.com/uc?export=down ... iq5gbsYuFG
My blog/software site: http://dosaidsoft.com/
GoodNPlenty
Enthusiast
Enthusiast
Posts: 107
Joined: Wed May 13, 2009 8:38 am
Location: Arizona, USA

Re: Nixie tube countdown timer

Post by GoodNPlenty »

Nicely done. Thank You for sharing.
OgreVorbis
User
User
Posts: 77
Joined: Thu Jan 16, 2020 10:47 pm

Re: Nixie tube countdown timer

Post by OgreVorbis »

GoodNPlenty wrote: Sat Nov 20, 2021 1:38 am Nicely done. Thank You for sharing.
You're welcome.

BTW, I am aware that the numbers move around a tiny bit, like 1px, as they change. This seemingly can't be fixed. I spent a long time aligning the tube's image files perfectly and for some reason, they look different. It's good enough for me though.

You can drag it around. The only part that is not obvious is that to close it, you need to right click the taskbar tab and click close window.
My blog/software site: http://dosaidsoft.com/
OgreVorbis
User
User
Posts: 77
Joined: Thu Jan 16, 2020 10:47 pm

Re: Nixie tube countdown timer

Post by OgreVorbis »

Update:
  • Added flashing ":" to the middle tube
  • Embedded all graphics - producing standalone EXE
  • Right click for exit menu
  • New icon
  • Always on top option (default)
https://drive.google.com/uc?export=down ... EWQoyvnzF2
Last edited by OgreVorbis on Mon Nov 22, 2021 6:27 pm, edited 1 time in total.
My blog/software site: http://dosaidsoft.com/
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Nixie tube countdown timer

Post by Kwai chang caine »

Really nice, simple and great idea :D
With this, I go back to the memories of my childhood :wink:
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
AAT
Enthusiast
Enthusiast
Posts: 256
Joined: Sun Jun 15, 2008 3:13 am
Location: Russia

Re: Nixie tube countdown timer

Post by AAT »

Very nice, thanks!

The nixie is good not only for timer.
I take my diy nixie year indicator out of the box in December and change the year on January 1st. :)

Image
OgreVorbis
User
User
Posts: 77
Joined: Thu Jan 16, 2020 10:47 pm

Re: Nixie tube countdown timer

Post by OgreVorbis »

The beta version of the full clock app based on this, is now available here: https://www.purebasic.fr/english/viewtopic.php?t=78336
My blog/software site: http://dosaidsoft.com/
Post Reply