Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 23-08-2011, 11:05 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,432
Al's 2 Stage Timer Counter

Allan Gould contacted me with a software request yesterday, and I got around to having a play with it tonight. The attached program is the second version.

Its a 2 stage timer and counter. The request was for something that can count the number of subs taken in parallel with a program such as CCDSoft. The idea is to set up your exposure time in the stage 1 timer and the dwell time between captures in the stage 2 timer. Start the timer counter when you start a programmed imaging run, and it will count the number of times through the cycle.

If the stage 1 timer (exposure) is set to zero, the program will not start. The stage 2 timer (dwell timer) can be set to zero. Negative numbers are ignored and treated as zeros. I have deliberately avoided being too tricky and forcing strict time format for input so you can specify a 600s exposure rather than 10min if you want to. Not sure yet if this is a good idea... but if you want to put a mixture of minutes and large numbers of seconds as well, then you'll get what you ask for!

The timer will sound the system's exclamation sound each time it changes from exposure to dwell and vice versa unless you check the Mute checkbox (aren't I kind?).

The display has 2 groups of Exposure and dwell times. The small ones at the top are where you set the exposure and dwell times you want. The larger ones are the countdown timers. The cycle counter displays the current exposure number (or previous completed exposure during the dwell period).

Feel free to try it, and offer any feedback.

Al.
Attached Files
File Type: zip AlsTC.zip (227.8 KB, 15 views)

Last edited by sheeny; 24-08-2011 at 08:20 PM. Reason: Replace faulty program with Update
Reply With Quote
  #2  
Old 23-08-2011, 11:27 PM
allan gould's Avatar
allan gould
Registered User

allan gould is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 4,485
Al
Right on the button again. Most excellent and now I can see at a glance where i am in the imaging run without pulling up the imaging program.
Many thanks, and I applaud your ability.
Allan
Reply With Quote
  #3  
Old 24-08-2011, 07:12 AM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,432
Sorry Al, et al. I have removed the program as, even though it works well, it doesn't actually time well.... It seems the timer I used doesn't tick each second - something that is hidden in my Astroclock. I'll have to find a solution to that...

Al.
Reply With Quote
  #4  
Old 24-08-2011, 06:45 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,432
Als' 2 Stage Timer Counter Fix!

Ok guys... sorry for the stuff around.

The program is now fixed and should time OK. I also fixed a little bug I noticed where the timers weren't displaying the time to go for the first second. The timing bug wasn't difficult to fix in the end... just a setting I missed. Whew! I thought it was goign to have to be a complete rethink and rewrite, with a little bit of ugly maths, but it wasn't so serious.

I have placed the updated/fixed program on the first post in this thread. If you are one of the few people who down loaded the original, please uninstall it before you install the new version, just so you don't end up with a dud one still there to cause confusion (I don't think the install will replace the original).

Al.

Last edited by sheeny; 24-08-2011 at 07:07 PM. Reason: afterthought
Reply With Quote
  #5  
Old 24-08-2011, 07:52 PM
allan gould's Avatar
allan gould
Registered User

allan gould is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 4,485
Thanks again Al - much appreciated
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 08:40 AM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement