ExpeditionExpedition Navigation Software

You are not logged in. Would you like to login or register?



12/18/2018 12:24 pm  #1


GPS Time Systemwatch

Hi,
I'm interested in having the GPS time as system time. But when I'm clicking "Set clock from GPS", then I get the message "Unable to set computer time from GPS".
What could be my error?
GPS-fix with time is available.

Thanks 

 

12/18/2018 1:01 pm  #2


Re: GPS Time Systemwatch

Olli

I've played around with this issue in the past and it seems to be an ongoing challenge.  Each successive version of Windows locks the system down further and further and in general an application under Windows 10 is not expected to change the systemTime.  The application would need Administrator rights.

More specifically it needs SE_SYSTEMTIME_NAME privilege.  You can read more about it here.  
https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-setsystemtime

The calling process must have the SE_SYSTEMTIME_NAME privilege. This privilege is disabled by default. TheSetSystemTime function enables the SE_SYSTEMTIME_NAME privilege before changing the system time and disables the privilege before returning. For more information, see Running with Special Privileges=16px.

I'd love if Nick could find a way to implement it reliably but I think it is simply too dependent on the Windows configuration.  If anyone has had any success with this on a recent version of Windows then maybe they could share with the group.
 

 

12/18/2018 2:49 pm  #3


Re: GPS Time Systemwatch

Yes, that is exactly the problem.

 

12/02/2025 10:53 pm  #4


Re: GPS Time Systemwatch

Hi. W11 and expv12.5.5 is possible to set Windows clock with GPS Time if you always open Exp running as administrator. Very useful if you need to sync post analysis software with log and events data. 

 

12/04/2025 3:27 am  #5


Re: GPS Time Systemwatch

@gonzgo - thats very useful.  syncing to GPS time will help align logs, race starts etc.
I tried it using older logs and it set the system clock based on the gps time in the log.  A bit jarring but ultimately correct.  Just watch out for that.  More useful when you have a live GPS feed!

 

Board footera

 

Powered by Boardhost. Create a Free Forum




Check out RaceData for iOS and Android. Expedition data in the palm of your hand, or on your wrist! RaceData

Interested in advertising here? Over one thousand active navigators and Expedition users visit this forum. Click here to contact the administrator.