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

Reply
 
Thread Tools Rate Thread
  #41  
Old 07-07-2006, 06:08 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Quote:
Originally Posted by [1ponders]
matto@zoominternet.net

Under Info-About ADC
Yup. That's what I got! (But I got there more... ... creatively! )

Al.
Reply With Quote
  #42  
Old 08-07-2006, 03:07 PM
joe_smith's Avatar
joe_smith
Registered User

joe_smith is offline
 
Join Date: Mar 2006
Location: Ingleburn
Posts: 481
Still working on it............ Should of paid more attention in school
Reply With Quote
  #43  
Old 29-08-2006, 06:31 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Well, for what it's worth. Here's one I've written in Visual Basic 2005 Express Edition.

Now be warned! This is the first bit of real programming I have done in a good 25 years or so... Thanks for asking the question, Dennis! It made me download VB and learn to program again! This is only the second program I've ever written in VB (the other one let me enter the radius, and it would calculate the area of a circle!! Woohoo!! )

I expect that when it installs, it will want to download files from Microsoft unless you are running the .NET framework. So unless you want to download those files, or install the .NET framework, I suggest you don't install it!

If anyone can walk me through how to publish the application so it doesn't do this, please let me know!

Solar and Sidereal Time looks good to me at the moment, but no guarantees! Sidereal time should be accurate to plus or minus a second only (I used the short equation! ).

I offer this on a where is as is basis! Feel free to use it if you like, but I can't accept any responsibility!

Thanks to Joe Smith too, for sending me some code and giving me a clue about timers!

Al.
Attached Thumbnails
Click for full-size image (Screen1.gif)
7.4 KB19 views
Click for full-size image (Screen2.gif)
7.4 KB20 views
Attached Files
File Type: zip AlsClock.zip (228.7 KB, 14 views)
Reply With Quote
  #44  
Old 29-08-2006, 10:59 PM
h0ughy's Avatar
h0ughy (David)
Moderator

h0ughy is offline
 
Join Date: Apr 2005
Location: NEWCASTLE NSW Australia
Posts: 33,425
Quote:
Originally Posted by sheeny
Well, for what it's worth. Here's one I've written in Visual Basic 2005 Express Edition.

Now be warned! This is the first bit of real programming I have done in a good 25 years or so... Thanks for asking the question, Dennis! It made me download VB and learn to program again! This is only the second program I've ever written in VB (the other one let me enter the radius, and it would calculate the area of a circle!! Woohoo!! )

I expect that when it installs, it will want to download files from Microsoft unless you are running the .NET framework. So unless you want to download those files, or install the .NET framework, I suggest you don't install it!

If anyone can walk me through how to publish the application so it doesn't do this, please let me know!

Solar and Sidereal Time looks good to me at the moment, but no guarantees! Sidereal time should be accurate to plus or minus a second only (I used the short equation! ).

I offer this on a where is as is basis! Feel free to use it if you like, but I can't accept any responsibility!

Thanks to Joe Smith too, for sending me some code and giving me a clue about timers!

Al.
can you get it to retain the longtitude entered instead of entering the data evertime it starts up? nice what you have done too. Any way of being able to make it full screen, large text?
Reply With Quote
  #45  
Old 30-08-2006, 07:59 AM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Undoubtedly yes, HOughy. No doubt if I can't someone can!

As I said I'm 25 years out of practice and new to VB, so I'll have a go but I have no idea how long it will take. I'd like to a breather for a while, it's such hard work!

I want to get rid of the windows border cause I can't figure out how to make that night vision colours (yet? ), but I want to keep it so it can be movable around the screen. Resizable sounds great too, but as for how to do that (i.e. resizing text etc, not just the window size) well... let's just say resizable sounds great shall we???

I've tried to keep the text as large as possible with a small footprint on the screen so it doesn't block other apps.

If there are any other VB programmers out there who would like to collaborate, let me know. I'm happy to share the code!

Al.
Reply With Quote
  #46  
Old 30-08-2006, 08:04 AM
Dennis
Dazzled by the Cosmos.

Dennis is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 11,811
Thanks heaps Al - it all sounds like black magic to me, but I certainly can appreciate the efforts you have put into this whim of mine!

Cheers

Dennis
Reply With Quote
  #47  
Old 30-08-2006, 08:34 AM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Looks nice, Al.

I'll have to pester mojo into getting LST into the timezones bar on the right column.. It will use your long/lat info in your profile to display it correct for your location.
Reply With Quote
  #48  
Old 30-08-2006, 10:26 AM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Quote:
Originally Posted by iceman
Looks nice, Al.

I'll have to pester mojo into getting LST into the timezones bar on the right column.. It will use your long/lat info in your profile to display it correct for your location.
Hey don't forget Solar for those with PSTs!!! Solar's relatively easy anyway.

Al.
Reply With Quote
  #49  
Old 31-08-2006, 12:58 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
OK Guys, here's a minor update.

Same as before except I've fixed a minor bug that saw the Sidereal Time drop behind gradually. I also fixed up a spelling error or 2!

I've also added a routine so if you double click on the main form outside the GroupBoxes, the border around the application will toggle. So if the border is upsetting your night vision, double click (just inside the border) will get rid of it. Then if you need to move the clock, double click will bring the border back so you can drag and drop via the caption bar, etc.

Remembering the longitude is next!

Al.
Attached Files
File Type: zip AlsClocka.zip (228.8 KB, 8 views)
Reply With Quote
  #50  
Old 31-08-2006, 01:00 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Mojo has added LST to the timezones (not yet live), and is doing solar time next.

Is there any other astronomical times that would be nice to have in the RHS column?
Reply With Quote
  #51  
Old 31-08-2006, 01:30 PM
mojo's Avatar
mojo (Terry)
iceinspace

mojo is offline
 
Join Date: Sep 2004
Location: Melbourne
Posts: 1,665
LMST
LAST
GMST
GAST
Julian

If someone gives me the definition of Solar Time, you can have that too. I'm a programmer, not an astronomer
Reply With Quote
  #52  
Old 31-08-2006, 01:59 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Quote:
Originally Posted by mojo
LMST
LAST
GMST
GAST
Julian

If someone gives me the definition of Solar Time, you can have that too. I'm a programmer, not an astronomer
Terry,

The guts of Solar time is how the position of the sun deviates from where our clocks say it should be due to the eccentricity of the earth's orbit. The formula for that deviation is called the "Equation of Time" and it can be found here:

http://en.wikipedia.org/wiki/Equation_of_time

If you simply apply the equation of time adjustments to local (standard) time you will get the "rough" solar time based on the central meridian of the time zone.

To make it more accurate, start with UTC, apply the equation of time then adjust for the required longitude (i.e. add 1 hour for each 15 degrees east).

Hope this helps,

Al.
Reply With Quote
  #53  
Old 31-08-2006, 02:00 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Why would anyone ever use that, Al?
Reply With Quote
  #54  
Old 31-08-2006, 02:08 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Sundial-a-holics would use it most!

It is also fundamental to calculating the position in the sky of the sun. If you are using a GOTO scope, all that is done for you; if not I guess you push and pull till the suns in view... so in reality it's probably not that important.

But I find it interesting to watch how the sun lags and overtakes us over time - especially in daylight saving time!

Al.
Reply With Quote
  #55  
Old 31-08-2006, 02:10 PM
iceman's Avatar
iceman (Mike)
Sir Post a Lot!

iceman is offline
 
Join Date: Sep 2004
Location: Gosford, NSW, Australia
Posts: 36,799
Quote:
Originally Posted by al
But I find it interesting to watch how the sun lags and overtakes us over time - especially in daylight saving time!
So it's only useful as a pursuit for the nerdy?
Reply With Quote
  #56  
Old 31-08-2006, 02:22 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Quote:
Originally Posted by iceman
So it's only useful as a pursuit for the nerdy?
Exactly! Until someone out-nerds me and comes up with a "valuable" use for it!

There's nothing wrong with that is there??

Al.
Reply With Quote
  #57  
Old 31-08-2006, 03:40 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
Solar Time

Actually there may be some use for solar observers if they want to be able to observe the sun at the same altitude each day, or when directly over head etc.

It may also be of use for some weather related phenomena... sun dogs, etc.

Just guessing...

Al.
Reply With Quote
  #58  
Old 02-09-2006, 04:20 PM
sheeny's Avatar
sheeny (Al)
Spam Hunter

sheeny is offline
 
Join Date: Jun 2005
Location: Oberon NSW
Posts: 14,437
AlsClock v1.3

OK Guys, here's version 1.3.

Very similar to earlier versions:
  • Written in VB 2005 Express Edition
  • Uses the .NET Framework so it will download additional .NET framework support files if you are not running the .NET framework. If you don't want to, or can't, download these files, I recommend you don't install the program.
  • Displays local, UTC, Solar and Sidereal Time.
  • If you don't enter a longitude, it will use the longitude of the central meridian of your time zone (less accurate).
  • You can enter your longitude, and the Solar and Sidereal time should be accurate to plus or minus 1 second for your longitude.
  • The longitude and the status of the application is saved to a file called Settings.dat each time the application is shutdown. So next time you run the clock it remembers the longitude, etc.
  • If the window border is too harsh for your dark adapted eyes, you can switch it off by double clicking just inside the window border (but outside the groupboxes). Double click again will switch the border back on so you can move the clock or shut it down.
The three screen dumps attached show:
  1. The clock when it runs the first time after installation. i.e. no longitude, using time zone only.
  2. The clock running using a longitude.
  3. The clock with the windows border turned off.
Enjoy!

Al.
Attached Thumbnails
Click for full-size image (AlsClock1.gif)
7.5 KB7 views
Click for full-size image (AlsClock2.gif)
7.7 KB7 views
Click for full-size image (AlsClock3.gif)
5.2 KB8 views
Attached Files
File Type: zip AlsClock1_3.zip (229.6 KB, 15 views)
Reply With Quote
  #59  
Old 02-09-2006, 04:39 PM
h0ughy's Avatar
h0ughy (David)
Moderator

h0ughy is offline
 
Join Date: Apr 2005
Location: NEWCASTLE NSW Australia
Posts: 33,425
I graciously bow to your achievements, but one thing o great programming GOD - can I have it really big, you know like this so it is easily read while a little bit away from the screen
Reply With Quote
  #60  
Old 02-09-2006, 05:00 PM
Dennis
Dazzled by the Cosmos.

Dennis is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 11,811
Thanks Al - you're a champ!

Hi Al

Many, many thanks for this wonderful software utility. Your efforts in pursuing this task and coming up with such a fantastic solution are really, really appreciated - THANKS Big Al, you're the MAN.

Cheers

Dennis
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 07:29 PM.

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