Seeing the TNF at work.
Filed under: Misc
Tags:
Syncing To Time Source.
PowerShell is a tool all hams should be aware of. To make it easier to code /n software has come out with a group of CmdLets for Communications and Messaging that make it a breeze. A common problem many have when running WSPR is making sure they sync the computer clock to a good network source. The following PowerShell script will do that,. load the function and then type sync-time (In PowerShell) . If you want to set the time add the -set switch and make sure you run PowerShell as admin. I do this before I start up WSPR.
function sync-time(
$server = "time-a.nist.gov",
$port = 37,
$set = $false)
{
$servertime = get-time -server $server -port $port -set:$set
write-host "Server time:" $servertime
write-host "Local time :" $(date)
}
Filed under: Misc
Tags:
