[time-nuts] GPSDO simulation tool

Don Latham djl at montana.com
Sat Mar 22 23:18:53 EDT 2014


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 at 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




More information about the time-nuts mailing list