Topics

#FreqCal Running fmtave #FreqCal


David Ackrill
 

Hi all,

I'm trying to get my head round the second part of the Frequency Calibration procedure.  I have calculated a value for the 'slope' entry and now I want to calculate a value for 'intercept'.

I've created a file called fmt.all and re-educated myself into how to use the cmd: prompt and get to the folder with the fmtave.exe program in it and issue the command "C:\WSJT\wsjtx\bin>fmtave fmt.all"
However, the result comes back as

C:\WSJT\wsjtx\bin>fmtave fmt.all
    Freq     DF    CAL   N     rms    UTC     Call
   (kHz)    (Hz)    ?         (Hz)
----------------------------------------------------
At line 29 of file C:\Users\bill\src\k1jt\wsjtx\lib\fmtave.f90 (unit = 10, file = 'fmt.all')
Fortran runtime error: Bad integer for item 4 in list input

I've obviously not set something up correctly for fmtave to run the fmt.all file, but I've no idea what to do to fix it. This is my fmt.all file (I did alter it so that it would show up as a 'Notepad' file as, originally, Windows 10 in Nanny mode marked it as only being able to be opened in Defender)

21:20:391296830  1  1500  1501.643     1.643  -10.3   32.2
21:20:411296830  1  1500  1501.626     1.626   -9.9   29.2
21:20:431296830  1  1500  1501.600     1.600  -10.1   33.2
21:20:491296830  1  1500  1501.577     1.577  -10.3   29.3
21:20:511296830  1  1500  1501.567     1.567  -10.0   29.7
21:20:541296830  1  1500  1501.488     1.488  -10.1   26.9
21:20:561296830  1  1500  1501.693     1.693  -10.5   37.5
21:20:581296830  1  1500  1501.661     1.661  -10.5   38.0
21:21:041296830  1  1500  1501.676     1.676  -10.3   36.6
21:21:061296830  1  1500  1501.578     1.578   -9.9   32.6
21:21:091296830  1  1500  1501.607     1.607  -10.0   31.4
21:21:111296830  1  1500  1501.438     1.438  -10.4   34.5
21:21:131296830  1  1500  1501.522     1.522  -10.6   35.7
21:21:191296830  1  1500  1501.136     1.136   -8.9   27.2
21:21:211296830  1  1500  1500.885     0.885  -10.0   16.0  *
21:21:241296830  1  1500  1500.520     0.520   -9.3   21.8
21:21:261296830  1  1500  1501.054     1.054  -10.0   27.2
21:21:281296830  1  1500  1501.021     1.021   -8.9   29.2
21:21:341296830  1  1500  1501.781     1.781  -10.7   40.2
21:21:361296830  1  1500  1501.676     1.676  -10.9   40.6
21:21:391296830  1  1500  1501.711     1.711  -11.4   43.1
21:21:411296830  1  1500  1501.686     1.686  -11.3   42.6
21:21:431296830  1  1500  1501.625     1.625  -10.5   39.0
21:21:491296830  1  1500  1501.762     1.762  -10.2   36.0
21:21:511296830  1  1500  1501.839     1.839  -10.1   31.8
21:21:541296830  1  1500  1501.845     1.845  -10.6   38.5
21:21:561296830  1  1500  1501.898     1.898  -10.7   40.7
21:21:581296830  1  1500  1501.841     1.841  -10.7   40.2
21:22:041296830  1  1500  1501.957     1.957  -10.4   38.2
21:22:061296830  1  1500  1501.959     1.959  -10.4   33.9
21:22:091296830  1  1500  1501.907     1.907  -10.2   33.8
21:22:111296830  1  1500  1501.704     1.704  -10.6   40.5
21:22:131296830  1  1500  1501.684     1.684  -10.7   40.5
21:22:191296830  1  1500  1501.326     1.326   -6.9   29.7
21:22:211296830  1  1500  1501.006     1.006   -6.7   27.5
21:22:241296830  1  1500  1501.352     1.352   -8.3   30.5
21:22:261296830  1  1500  1501.259     1.259   -9.0   30.0
21:22:281296830  1  1500  1501.347     1.347   -7.8   29.9
21:22:341296830  1  1500  1501.924     1.924  -10.4   31.3
21:22:361296830  1  1500  1501.939     1.939  -10.2   35.6
21:22:391296830  1  1500  1501.832     1.832  -10.4   35.5
21:22:411296830  1  1500  1501.703     1.703  -10.4   37.1
21:22:431296830  1  1500  1501.647     1.647  -10.2   33.5
21:22:491296830  1  1500  1501.921     1.921  -10.5   34.7
21:22:511296830  1  1500  1501.896     1.896  -10.1   36.7
21:22:541296830  1  1500  1501.989     1.989  -10.4   36.3
21:22:561296830  1  1500  1502.113     2.113  -10.0   35.7
21:22:581296830  1  1500  1501.985     1.985  -10.2   36.5
21:23:041296830  1  1500  1502.264     2.264  -10.2   34.5
21:23:061296830  1  1500  1502.263     2.263  -10.4   35.2
21:23:091296830  1  1500  1502.351     2.351  -10.0   30.7
21:23:111296830  1  1500  1502.281     2.281  -10.1   30.8
21:23:131296830  1  1500  1502.142     2.142   -9.9   26.9
21:23:191296830  1  1500  1501.591     1.591   -8.2   25.9
21:23:211296830  1  1500  1501.109     1.109   -6.7   28.4
21:23:241296830  1  1500  1501.705     1.705   -8.6   32.5

 

Thanks for any advice - Dave (G0DJA)


David Ackrill
 

It suddenly occured to me that there was no gap between the time stamp and the frequency.  I guess no one expected some idiot (me) to try it on 23cm. :-)

I sorted that and now fmtave will run, but it tells me that "Input file must contain at least 2 valid measurement pairs" well, I should have guessed really, as that is what averaging across different frequencies is about...

So, now I need to find a reliable reference signal, locked to GPSDO, that I can sample on 2M and 70cm as well as 23cm to calculate a slope for the IC-9700.

All this is really only to see what difference attaching a 10MHz GPSDO input makes, when the 20dB attenuator arrives,,,

I might go and try setting an intercept for my TS2000X, which might be able to pick up a few more referrence frequencies for the fmt.all file...

Cheers - Dave (G0DJ)


Bill Somerville
 

On 22/02/2021 22:40, David Ackrill wrote:

It suddenly occured to me that there was no gap between the time stamp and the frequency.  I guess no one expected some idiot (me) to try it on 23cm. :-)

I sorted that and now fmtave will run, but it tells me that "Input file must contain at least 2 valid measurement pairs" well, I should have guessed really, as that is what averaging across different frequencies is about...

So, now I need to find a reliable reference signal, locked to GPSDO, that I can sample on 2M and 70cm as well as 23cm to calculate a slope for the IC-9700.

All this is really only to see what difference attaching a 10MHz GPSDO input makes, when the 20dB attenuator arrives,,,

I might go and try setting an intercept for my TS2000X, which might be able to pick up a few more referrence frequencies for the fmt.all file...

Cheers - Dave (G0DJ)
Hi Dave,

GB3VHF & GB3UHF.

73
Bill
G4WJS.


Bill Somerville
 

On 22/02/2021 22:54, Bill Somerville wrote:
On 22/02/2021 22:40, David Ackrill wrote:

It suddenly occured to me that there was no gap between the time stamp and the frequency.  I guess no one expected some idiot (me) to try it on 23cm. :-)

I sorted that and now fmtave will run, but it tells me that "Input file must contain at least 2 valid measurement pairs" well, I should have guessed really, as that is what averaging across different frequencies is about...

So, now I need to find a reliable reference signal, locked to GPSDO, that I can sample on 2M and 70cm as well as 23cm to calculate a slope for the IC-9700.

All this is really only to see what difference attaching a 10MHz GPSDO input makes, when the 20dB attenuator arrives,,,

I might go and try setting an intercept for my TS2000X, which might be able to pick up a few more referrence frequencies for the fmt.all file...

Cheers - Dave (G0DJ)

Hi Dave,

GB3VHF & GB3UHF.

73
Bill
G4WJS.

Hi Dave,

BTW for modern rigs with a single reference oscillator for all frequency synthesis the intercept will be zero.

73
Bill
G4WJS.


David Ackrill
 

No, I'm going backawards now.  I listened to a GPSDO locked 2m beacon and created a new entry for fmt all now I had more than one measurement, but it did not go well...

I added the 2M data to the file, fmt.all minus the JT65 data which would mess up the calculations, and ran fmtave again.  This time I got an output

C:\WSJT\wsjtx\bin>fcal fmtave.out
    Freq      DF     Meas Freq     Resid
   (MHz)     (Hz)      (MHz)        (Hz)
-----------------------------------------
1296.830    1.6631296.830001663    0.000
 144.430   -1.853 144.429998147    0.000

A:   -2.29 Hz    B:   0.0031

I just need to figure out which value should go into which box. So far, my guesses have been wrong...

Cheers - Dave (G0DJA)


David Ackrill
 

Hi Bill,

I'm starting to realise that the intercept is zero...

As in, if I don't set it to zero, the radio gets sent off on a wild goose chase looking for a signal that was already there.

I'll stop chasing my tail now.

Cheers - Dave (G0DJA)


Bill Somerville
 

On 22/02/2021 23:39, David Ackrill wrote:

No, I'm going backawards now.  I listened to a GPSDO locked 2m beacon and created a new entry for fmt all now I had more than one measurement, but it did not go well...

I added the 2M data to the file, fmt.all minus the JT65 data which would mess up the calculations, and ran fmtave again. This time I got an output

C:\WSJT\wsjtx\bin>fcal fmtave.out
    Freq      DF     Meas Freq     Resid
   (MHz)     (Hz)      (MHz)        (Hz)
-----------------------------------------
1296.830    1.6631296.830001663    0.000
 144.430   -1.853 144.429998147    0.000

A:   -2.29 Hz    B:   0.0031

I just need to figure out which value should go into which box. So far, my guesses have been wrong...

Cheers - Dave (G0DJA)
Dave,

if you refer to the instructions in the WSJT-X User Guide you should see that WSJT-X has a tool to do the calculations for you which returns the slope and intercept figures exactly as needed for entry into the "Settings->Frequencies" fields, it will even enter them for you if you approve of the results.

73
Bill
G4WJS.


Bill Somerville
 

On 22/02/2021 23:44, Bill Somerville wrote:
On 22/02/2021 23:39, David Ackrill wrote:

No, I'm going backawards now.  I listened to a GPSDO locked 2m beacon and created a new entry for fmt all now I had more than one measurement, but it did not go well...

I added the 2M data to the file, fmt.all minus the JT65 data which would mess up the calculations, and ran fmtave again. This time I got an output

C:\WSJT\wsjtx\bin>fcal fmtave.out
    Freq      DF     Meas Freq     Resid
   (MHz)     (Hz)      (MHz)        (Hz)
-----------------------------------------
1296.830    1.6631296.830001663    0.000
 144.430   -1.853 144.429998147    0.000

A:   -2.29 Hz    B:   0.0031

I just need to figure out which value should go into which box. So far, my guesses have been wrong...

Cheers - Dave (G0DJA)

Dave,

if you refer to the instructions in the WSJT-X User Guide you should see that WSJT-X has a tool to do the calculations for you which returns the slope and intercept figures exactly as needed for entry into the "Settings->Frequencies" fields, it will even enter them for you if you approve of the results.

73
Bill
G4WJS.

https://physics.princeton.edu/pulsar/K1JT/wsjtx-doc/wsjtx-main-2.3.0.html#_frequency_calibration

73
Bill
G4WJS.


David Ackrill
 

"if you refer to the instructions in the WSJT-X User Guide you should see that WSJT-X has a tool to do the calculations for you which returns the slope and intercept figures exactly as needed for entry into the "Settings->Frequencies" fields, it will even enter them for you if you approve of the results."

I've been working through the User Guide and have got this far, but to the point before it will enter the results.

I''ll try again on my TS2000X with some sort of antenna, all I have for HF is a 40M dipole at the moment, so will see what, if any, time stations I can hear.

Cheers - Dave (G0DJA)