Hi Tom et.al. Isn't the simulator "easily" convertible to the real thing? That is, data inputs should be convertible somehow to data streams from physical devices? Don
cfo > On Fri, 21 Mar 2014 14:55:34 -0700, Tom Van Baak wrote: > >> Have a look and let me know what you think. The tool is gpsim1.c >> (Windows: gpsim1.exe) under: >> http://www.leapsecond.com/tools/ > > Nice tool Tom > > I just compiled it under linux. > gcc gpsim1.c -lm -o gpsim1 > > I had to add min/max > #define min( a, b ) ( ( a < b) ? a : b ) > #define max( a, b ) ( ( a > b) ? a : b ) > > Just an info ... GCC complains about this line (my 109 , your 96) > fprintf(stderr, "%s: sample count (%lg) exceeds data counts (%lg, %lg) > \n", Tool, n, gps_n, osc_n); > > > ~/tmp/tvb-gpssim $ gcc gpsim1.c -lm -o gpsim1 > gpsim1.c: In function âmainâ: > gpsim1.c:109:9: warning: format â%lgâ expects argument of type > âdoubleâ, > but argument 5 has type âlong intâ [-Wformat] > gpsim1.c:109:9: warning: format â%lgâ expects argument of type > âdoubleâ, > but argument 6 has type âlong intâ [-Wformat] > ~/tmp/tvb-gpssim $ ~/tmp/tvb-gpssim $ > > > Thanx for the nice tool > > CFO > > _______________________________________________ > time-nuts mailing list -- time-nuts@febo.com > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. -- "The power of accurate observation is commonly called cynicism by those who have not got it." -George Bernard Shaw Dr. Don Latham AJ7LL Six Mile Systems LLC 17850 Six Mile Road POB 134 Huson, MT, 59846 VOX 406-626-4304 Skype: buffler2 www.lightningforensics.com www.sixmilesystems.com _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.