...
Description
...
The gpstime.exe program is used for setting the PC system time according to the time received from the GPS satellite system. The program supports STU-GPS devices (Incos Žilina) and GPS receivers supporting the NMEA 0183 communication protocol (tested on Garmin GPS 35). The request for synchronization of time difference that is greater than 3600 seconds will be ignored.
Parameters
...
Command-line parameters:
gpstime PortNr [W] [E] [L] [U] [NMEA]
Number of the which where the GPS receiver is |
plugged inconnected to. |
[W] | If the detected time difference is greater than 1 second, there will be performed correction of the system time according to the GPS receiver time. |
[E] | Having corrected the system time, the program is to be terminated immediately. If correction is not necessary, the program will be terminated in 30 seconds. |
[L] | Daylight saving time correction - adding +1 hour to a time received from the GPS receiver. |
[U] | Correction - UTC (Coordinated Universal Time) --> UTC+1 (Central European Time). |
[NMEA] | The receiver communicates by means of the NMEA 0183 communication protocol. If the parameter is not defined, there is assumed the communication with a Incos STU-GPS device. |
[Sxxxx] |
| Allows to change the predefined serial port baud rate. For STU-GPS - the predefined baud rate is 9600 Bauds, for NMEA 0183 protocol based device - the predefined baud rate is 19200 Bauds. Possible values:- S110
- S300
- S600
- S1200
- S2400
- S4800
- S9600
- S14400
- S38400
- S56000
- S57600
- S115200
- S128000
- S256000
|
LOG_INPUT_DATA | Full listing of communication between gpstime and GPS receiver in case of NMEA protocol. |
DO_NOT_CHANGE_SYSTIME | Program executes all activities except for the time correction (unlike the parameter W, when it does not communicate with GPS receiver). |
Kotva |
---|
| navratove_hodnoty |
---|
| navratove_hodnoty |
---|
|
Program logs
...
In the work working directory of the gpstime program directory, there is automatically generated the file gpstime.log containing is automatically generated. It contains program activity logs:
- program start/stop
- time correction
...
- Baud rate of 19200 (unless there is defined other baud rate using the parameter Sxxxx).
- enabled NMEA sequences GGA (Global Positioning System Fix Data) and RMC (Recommended Minimum Specific GPS/TRANSIT Data)
...
- Program version 1.2 - July 24th, 2001 - NMEA 0183 support.
...