linux-tools - Güralp Systems Ltd
linux-tools - Güralp Systems Ltd
linux-tools - Güralp Systems Ltd
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Güralp</strong> <strong>Systems</strong> Linux <strong>tools</strong><br />
If required, the PPS signal can be inverted. This would require the<br />
configuration variable invert_pps = true.<br />
5.3.3 NMEA sentence configuration<br />
The latitude, longitude, height and geoid variables may be set to alter<br />
various parts of the NMEA sent string to the instrument. This is<br />
optional but potentially useful to keep diagnostic log messages intact.<br />
These take the following format:<br />
• latitude: 4807.0380,N (48° 07.0380' North)<br />
• longitude: 01131.0000,E (11° 31.0000' East)<br />
• height: 00054 (54m above sea level)<br />
• nmea_geoid: 047 (geoid (the height of sea level above WGS-84<br />
ellipse) of 47m)<br />
5.3.4 NTP configuration<br />
The ntp_max_error variable may be set to change the sensitivity of<br />
the system to NTP. This is a value in microseconds (µs) which sets the<br />
threshold of when the NMEA output says “GPS time locked” and when<br />
it says “GPS time unlocked”. If the system's estimated NTP error<br />
exceeds this value, the NMEA output is unlocked.<br />
It is possible to test the value of this and tune it by switching on<br />
debugging messages (log_level = LOG_DEBUG).<br />
5.4 cd11-test-recv<br />
5.4.1 Logging<br />
The configuration file of the test receiver is a plain text file containing<br />
a set of lines in the format name = value. A # character may be used<br />
to mark the rest of the line as a comment. Comments and blank lines<br />
are ignored.<br />
Unless overridden with the s command-line switch, ntp-to-nmea will<br />
by default log to the system log (syslog). By default the application<br />
will use a syslog tag based on the name of its configuration file, e.g.<br />
“ntp-to-nmea[test]”. This can be overridden by changing the<br />
log_name variable.<br />
The level of messages which can be logged is set by the log_level<br />
variable which may take values LOG_DEBUG (which includes<br />
30 Issue E