Error scanning adif log

Bill - W7VAS
  1. main@WSJTX.groups.io
  2. Topics
  3. Error Scanning ADIF Log

locked

Error Scanning ADIF Log


Bill — W7VAS


 


#13311  

When opening WSJT-X I get the error message «Error scanning ADIF log, Invalid ADIF header».  I click OK and continue on without seeing any problems.  It is annoying but apparently not a problem.  How do I get rid of the error?  I tried deleting the .ADI log file and cleared it up for one time but the next time I opened the program the error message was back (along with the .ADI file that WSJT-X generates).  Any ideas?


More


JP Tucson, AZ


 


#13314  

In the .adi file (really just a yext file that you can edit — may need to temp rename .txt instead of .adi)

Add an «o» where it says <eh>; should be «<eoh>…

They goofed

73 — John — N7GHZ


toggle quoted message

Show quoted text

On Tue, Jun 30, 2020, 3:33 PM Bill Watt <bill.watt@…> wrote:

When opening WSJT-X I get the error message «Error scanning ADIF log, Invalid ADIF header».  I click OK and continue on without seeing any problems.  It is annoying but apparently not a problem.  How do I get rid of the error?  I tried deleting the .ADI log file and cleared it up for one time but the next time I opened the program the error message was back (along with the .ADI file that WSJT-X generates).  Any ideas?


More


lu1dg@…


 


#13325  

A mi me  pasa lo mismo te han dado alguna repuesta

Enviado desde
Correo para Windows 10

De: Bill Watt
Enviado: martes, 30 de junio de 2020 19:33
Para: main@WSJTX.groups.io
Asunto: [WSJTX] Error Scanning ADIF Log

When opening WSJT-X I get the error message «Error scanning ADIF log, Invalid ADIF header».  I click OK and continue on without seeing any problems.  It is annoying but apparently not a problem.  How do I get rid of the error?  I tried
deleting the .ADI log file and cleared it up for one time but the next time I opened the program the error message was back (along with the .ADI file that WSJT-X generates).  Any ideas?


More


Dave KL7GRM <kl7grm@…>


 


#15056  

I’ve been trying to figure out how to show the «header» for hours.  I cannot find where the header is.


More


Philip Rose


 


#15061  

Hi Dave,

The header is that part of the ADIF file between the start and <EOH>. Any text viewer will do. If the first character in the file is ‘<’ there is no header.

73 Phil GM3ZZA.

Sent from Mail for Windows 10


toggle quoted message

Show quoted text

From: Dave KL7GRM
Sent: 08 August 2020 05:06
To: main@WSJTX.groups.io
Subject: Re: [WSJTX] Error Scanning ADIF Log

I’ve been trying to figure out how to show the «header» for hours.  I cannot find where the header is.


73 Phil GM3ZZA


More


SA5QED/David <s@…>


 


#15348  

Had the same problem. Disappeared when I saw that the header <EOR> had been changed to <EO>. Just edited and it worked fine afterwards.
Check headers with original ADI file if you still have it….
Good luck.
SA5QED David


More

I tend to think that the harvest in the field behind GM4FVM marks the end of the Sporadic E season. Looking back, it is a week earlier this year, and two weeks earlier than the year before. Whether the Es follows the harvesting season or not is a matter of debate, but without any real evidence I imagine it is a fact, this is my blog, so there you go.

Harvesting beside GM4FVM on 16 August 2020.

As I write on 23 August 2020 there is plenty of Es activity to the East on 6m. Nothing on 4m where I suspect the Summer Es is mostly over.

I was a bit surprised to work SP1O on 2m on 22 August. He just rose up to +13dB, lasted for the full contact and then vanished. I was heard by many other SP and DL stations according to PSK Reporter, and other GMs heard SP1O. This did not seem to be Es as there was no sign of Es on 4m or 6m, so I thought it was very strong meteor scatter. Or, more likely, it may have been ionisation after a large meteor reached Earth. Anyway, the tone of FT8 was clear but there was the haunting ringing echo which suggested a meteoric cause. On the other hand there was no sign of anyone taking advantage on MSK on any band. So, who knows?

The latest version of WSJT-X, version 2.2.2 has brought various advantages. On FT8 the decoder has improved and is quicker, meaning that we now often see signals decoded before the 15 second rx period is complete. While this is a great advantage, it also opens the door to clicking on the message to initiate a reply and finding a period of silence before tx starts at the beginning of the next period. Great for heart-stopping mini-panics.

v2.2.2 also brought about an improvement to the logging side of WSJT-X. I always liked having «Prompt me to Log QSO» ticked, as this produces a QSO summary. As I use four instances of WSJT-X at once it can get a bit confusing and being reminded to log is a good thing. This also creates an ADIF log file, which I have not used (yet). Contesters use this log file as they tick the box «Log automatically (contesting only)».

Once I started using v2.2.2 it was immediately apparent that a glitch in earlier versions of WSJT had been fixed, and using the log prompt and logging each QSO no longer cleared the «Enable Tx command». Excellent.

Not so good was that another glitch has arisen. Once the ADIF file was created, every time I opened WSJT-X or changed configurations I got an error report: «Error Scanning ADIF Log — Invalid ADIF header«.

If you do not use the logging, either prompted or automatic, then you will not experience this problem.

It was not a great hardship to cancel this error message each time I started WSJT-X. But then I have four instances of WSJT-X. More of a snag was having to cancel it every time I changed configuration, which I do every time I change from FT8 to MSK, or to JT65 or JT4 for beacons. More worrying, if the ADIF files created by WSJT-X were invalid I could not use them for logging if I ever need to. Contesters using the automatic logging facility would probably have problems exporting the files into their software.

I worked out that deleting the ADIF files would stop this happening, at least until I worked someone and logged it, in which case it came back again. Anyway, I did that for a while as I tried to work out a solution. The ADIF file can be read in a text editor, so I opened it in WordPad. The way to do this is to click «Open Log Directory», then right click on «wsjtx_log.adi» and select «open with» using whatever text editor you may have. WordPad is not great, but it comes bundled with Windows 10.

Here is an ADIF file I had (as usual click the images to enlarge if necessary)

The header is «WSJT-X ADIF Export<eh>». It needs to read «WSJT-X ADIF Export<eoh>. That is all you need to do, just add one character. Change <eh> to <eoh>.

Next click on «Save» in your text editor.

That’s it. Problem solved. Close the text editor and the error message should be gone for good. Unless of course you delete the ADIF file, in which case after you work the next station and log it, a new ADIF file will be created with the same glitch in it. Then you would need to change it again. However, unless you delete the old file, you can probably just leave it as it is.

This is how it looks after it has been fixed, including that rather unexpected contact with SP1O.

I really appreciate what the WSJT-X team have done over the years. In a large software project there are bound to be glitches. In this case we might think that they fixed one issue and created another one. That would be to ignore the other improvements which v2.2.2 brings. The faster decoding will really benefit FT8. Contest working has been improved. I can understand that one letter in one line of code might go amiss. It is easy to fix anyway.

It is well worth updating to WSJT-X v2.2.2 and in general keeping it regularly in step with the latest version.

73

Jim

GM4FVM

UR5EQF Log — программа для для ведения аппаратного журнала любительской радиостанции. Создана Владимиром Николаевичем Ковриженко (UR5EQF) (SK 19.04.2014 г.)

В память об авторе программы и для удобства пользователей работает сайт поддержки программы по адресу — ur5eqf.ru (tnx UB5MAI)

Распространяется БЕСПЛАТНО. Работает в любой операционной системе Windows. Имеет многоязычный интерфейс (английский, русский, украинский, испанский, польский, чешский, венгерский) и большой набор функций: управление трансивером и поворотными устройствами, работу цифровыми видами связи, DX-кластер и Band Map, обширную статистику по дипломам и многое другое. Может взаимодействовать с CwType, CwGet, TrueTTY, AAVoice, MixW2, MMVARI, MMSSTV, MMTTY, Band Master, DX Atlas и другими радиолюбительскими программами. Поддерживает работу в локальной сети и соревнованиях.
Использует в работе структуру баз данных аппаратного журнала AALog от RZ4AG.

Базовая версия UR5EQF Log 3.31скачать. Зеркало базовой версии

3.31тут.
Обновление до последней стабильной версии 3.31-60скачать. Зеркало версии 3.31-60тут
Последняя версия 3.31-61aскачать (11.07.2017, исправлено формирование рапортов в adif для JT9, FT8 и т. д.)

Онлайн callbook для UR5EQF_Log3 от US-E-12.

WSJTInterface-программа стыковки WSJT-X, JTDX, MSHV с логом UR5EQF_Log3 от US-E-12.

LoTW-eQSL-Clublog-программа для получения, отправки QSO на электронные сервисы (LoTW, eQSLcc, Clublog) от US-E-12.

Утилита UR5EQF Log Backup для резервного копирования и восстановления данных и настроек программы — скачать.
К

FAQ и другим файлам помощи по программе — перейти. Файл помощи от UX8IW — скачать.
Видео-уроки по работе с программой можно посмотреть здесь
Файлы дипломов на сайте «Радиолюбитель Ровенщины» — перейти (tnx UR5KCC), от RU3U — скачать, от RA3ST — скачать.
Файл-описание для работы в соревнованиях от RK4S — скачать. К остальным важным файлам для UR5EQF Logперейти.

Часто задаваемые вопросы


Полное руководство по Логу (автор UX8IW)


Не определяется азимут и расстояние до корреспондента


Важно для Windows 8 и выше


Устанавливайте лог на другой диск. Уйдут многие проблеммы.

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • General Help
  • [SOLVED] Need help on how to search

  1. Need help on how to search

    I need to find out how to search for a file on Linux. I’m using Ubuntu Mate 20.2. I need to find a file named «wsjtx_log.adi» . It is part of the WSJTX program and the program won’t let me open the file as I should be able to. It gives a message «Error scanning ADIF log Invalid ADIF header». I need to search for the log without using the program.


  2. Re: Need help on how to search

    mugwump40; Hello —

    I need to find a file named «wsjtx_log.adi» .

    That is the job of «find»
    run in terminal:

    Code:

    sudo find / -name wsjtx_log.adi

    my bit to try and help


  3. Re: Need help on how to search

    Quote Originally Posted by Bashing-om
    View Post

    mugwump40; Hello —

    That is the job of «find»
    run in terminal:

    Code:

    sudo find / -name wsjtx_log.adi

    my bit to try and help

    Thanks for your help! I used find and the response is: find: �/run/user/1000/gvfs�: Permission denied
    /home/ron/.local/share/WSJT-X/wsjtx_log.adi

    Tried a bunch of things and no good. Any more suggestions? I have a fear no log was ever created.


  4. Re: Need help on how to search

    Is this not the file you are looking for?

    /home/ron/.local/share/WSJT-X/wsjtx_log.adi


  5. Re: Need help on how to search

    Yes, that is the file. But it gives me the permission denied message. When I CD into /ron and do ls, there is no «.local» I’m not a newbie, but still a dumbie. Been using Ubuntu for years. BTW, I’m 81.


  6. Re: Need help on how to search

    Quote Originally Posted by mugwump40
    View Post

    When I CD into /ron and do ls, there is no «.local» I’m not a newbie, but still a dumbie. Been using Ubuntu for years. BTW, I’m 81.

    Try using the -a flag>> ls -a

    Code:

    cd /home/me && ls -a

    mine:

    Code:

    .                                           .ICEauthority
     ..                                          .icons
     ALT-80                                      .kde4
     .aqemu                                      .kodi
     .bash_aliases                               kolf.pdf
     .bash_history                               .lesshst
     .bash_logout                                .local
     .bash_profile                               .mozilla
     .bashrc                                     Music
     .cache                                      .nanorc
     .cargo                                      .nordnm
     .cert                                       .nv
     .config                                     .nvidia-settings-rc
     .conky                                      Pictures
     conky-manager2                              .pki
     Desktop                                     Public
     .dmrc                                       .qomui
     Documents                                  'sudo nvidia-smi -pm 1 persisent mode and others'
     Downloads                                   Templates
     eos-log-tool.logs                           Videos
     eos-log-tool.logs.bak                       .wget-hsts
     ExtremeCooling4Linux-v0.3-x86_64.AppImage   .Xauthority
     .fonts                                      .xinitrc
     .gnupg                                      .xsession-errors
     .gtkrc-2.0                                  .xsession-errors.old

    or:

    Code:

    cd /home/me/.local && ls -a
    .  ..  share  state

    Last edited by 1fallen; February 15th, 2022 at 07:26 PM.

    With realization of one’s own potential and self-confidence in one’s ability, one can build a better world.
    Dalai Lama>>
    Code Tags Arch Linux, openSuse Tumbleweed


  7. Re: Need help on how to search

    Thanks! (I think.) (-: I finally got there but the results were not what I wanted.
    ~/.local/share/WSJT-X$ gopen wstjx_log.adi
    The file /home/ron/.local/share/WSJT-X/wstjx_log.adi does not exist.
    Guess it’s time to do a complete new install.


  8. Thumbs up Re: Need help on how to search

    FINALLY!! I was able find the file, copy and save to a new file. Don’t know why wsjtx won’t open it, but at least I can fix it now! Thanks to all and this problem is closed.


  9. Re: Need help on how to search

    mugwump40; Great

    Good that you do have resolution.
    As such >>
    Please mark this thread solved;
    aides others seeking the solution,
    helps keep the forum clean, and
    precludes others miss-directing efforts to aid.
    https://wiki.ubuntu.com/UnansweredPo…/SolvedThreads

    weren’t nothing but a thing


Bookmarks

Bookmarks


Posting Permissions

Как импортировать ADIF-файлы в лог

Импорт ADIF-файлов осуществляется из Меню «Журнал» — «Импорт данных в журнала из …» — «файла ADIF»:

В открывшейся форме «Импорт из ADIF»  выбирается путь импортирования ADIF-файла в лог:

1. Кликаем мышкой значок «открытая папка» — откроется окно «Список»:

2. В адресном поле «Папка» ищем адрес импортируемого ADIF-файла, например: GAGARIN-CUP, открываем эту папку, кликаем мышкой по выбранному файлу:

3. В поле «Имя файла»  формы «Список» запишется имя выбранного файла:

4. Нажимаем кнопку «Открыть» — в адресном поле формы «Импорт из ADIF» установится адрес импортируемого в лог ADIF-файла:

5. В поле «Комментарий..», при необходимости,  можно внести общую запись для импортируемых связей.

6. Нажать клавишу «ОК» — информация из ADIF- файла загрузится в лог: (индикация процесса импортирования)

ВАЖНО! (Форма «Импорт из ADIF»):

Если необходимо сохранить информацию о странах в исходном виде, то в  форме «Импорт из ADIF» нужно убрать галку «Переопределять территорию по позывному».

При импорте связей из ADIF-файла , сформированного некоторыми программами аппаратных журналов, не всегда правильно определяется территория , откуда работал корреспондент. Соответственно, эти связи не попадают в статистику по дипломам. Перед импортом файла ADIF можно поставить галочку в поле «Переопределять территорию по позывному» , тогда все связи будут импортированы в лог соответственно их префиксам.

Если требуется при импорте проверить адиф-файл на наличие в нем дублирующихся связей — следует поставить галку «Удалить повторные связи», иначе весь «мусор» будет в журнале, т.е. в журнале может возникнуть подобная ситуация :

Проверка на повторы проводится по четырем параметрам:

1.Позывной

2.Модуляция

3.Дата

4.Время

В блоке «Сохранить время» ф ормы «Импорт из ADIF» можно установить выборку  времени QSO:

· либо «Конца связи» (QSO) — время окончания, либо

· «Начала связи» (QSO) — время начала QSO.

Это зависит от структуры импортируемого adif-файла, например: в adif-файлах, генерируемых программой MixW, используются оба этих поля.

При выборе этого параметра следует учесть, что может возникнуть и такая ситуация (раздел «При импорте адиф-файла из MIXW в лог дублируются связи…»).

cannot import my adif files

Hi !

It would help to see contents of that kind of adif file. Without it it is diificult to say what goes wrong.

Non working file containing only few qsos would be enough. You can paste it to your message if you change selector «Text format» below message edit box from «Filtered HTML» to «Plain text» and then paste the adif file contents.

Then all > and < characters should show up ok in message.


Saku
OH1KH

  • Log in or register to post comments

I have the same problem too,

I have the same problem too, using the latest 2.5.0 version, compiled locally.

Using the precompiled cqrlog binaries from cqrlog.com or OH1KH site on githup, the adif import works ok.

I am running cqrlog on Ubuntu 20.10.

73 de LB2EG Richard

  • Log in or register to post comments

cannot import my adif files

Gentlemen!

Please provide an adif file that can not be imported. You can send it to me via email. Address is in HamQth or QRZ.com

Yesterday I made tests with official 2.5.0 release (that was from download page «Complete application directory for other distributions:» cqrlog_2.5.0_amd64.tar.gz)
I did not notice any problems but I had only adif files from previous cqrlog, jtdx and wsjtx to try with.

Or is it so, that I’m thinking from Richards answer, that problem lays only in package installed 2.5.0. Not one that has taken from cqrlog_2.5.0_amd64.tar.gz or downloaded from my alpha test Github?


Saku
OH1KH

  • Log in or register to post comments

Problem importing ADIF file

I’m having the same problem — ADIF file import reports a problem with every entry, says it’s successful, but nothing is actually imported. I’ll wait for a new stable release that corrects this issue. In the meantime, I’ll use another linux logger. — 73 de Carl N8VZ

  • Log in or register to post comments

Problem importing ADIF file

Hi!

You could go to https://github.com/OH1KH/cqrlog/tree/loc_testing/compiled

Read «Readme» to get full instructions, but shortly:

Close cqrlog if running
Dowload newupdate.zip
extract newupdate.zip to get file newupdate.sh
start newupdate.sh in command terminal
When it asks what to update select #1 (official version)
You can skip help files upload/install as you have them already

Start cqrlog and try adif import again.

Let us know if this works.


Saku
OH1KH

  • Log in or register to post comments

cannot import my adif files

Hi Saku,

again the same, sorry.

If you read my post dated 01/19/2021 (https://www.cqrlog.com/comment/9239#comment-9239), it says.

"Hi Saku,
the import of the test.adi is not possible. See screenshot. The dialog shows "Complete!"; but no record is imported."

The file «test.adi» is your own, from the post before. You can therefore use it.

I use Kubuntu 20.10 here and use «cqrlog_2.5.0-1~groovy_amd64.deb» from the repository «https://launchpad.net/~ok2cqr/+archive/ubuntu/ppa/+packages». My hints refer therefore exactly only to this package!

If the problems are due to Lazarus version 2.10.0 the package «cqrlog_2.5.0-1~groovy_amd64.deb» might have been compiled with this Lazarus version. I can’t verify that from here. But I believe that Petr has an interest in hints concerning the packages in his repository.

73, Wolfgang
DL2KI

  • Log in or register to post comments

cannot import my adif files

HI Wolfgang!

Yep Laz 2.0.10 (actually I think the new fpc3.20 ) may cause problems.

If you like you can download from my alpha test GitHub https://github.com/OH1KH/cqrlog/tree/loc_testing/compiled
only the zip cqr0.zip.

You do not have to run newupdate.sh just move your current /usr/bin/cqrlog to safe place and replace it from with cqrlog from cqr0.zip while testing.
It is compiled from Petr’s latest source (without any alpha additions) with Laz2.0.8./fpc3.0.4 using linux Mint20 and it should be Ubuntu/Debian compatible.

Just if you want to compare how it works with adif (and umlaut).


Saku
OH1KH

  • Log in or register to post comments

cannot import my adif files

Hi,

i have compiled cqrlog 2.5.0 myself in a LinuxMint20 VM. With this binary the german umlauts work as well as the adif import.
But this does not change the malfunction of the binary in the package from the cqrlog PPA.

Anyway, Petr now has a usable reference to work with.

73, Wolfgang
DL2KI

  • Log in or register to post comments

Sat, 2021-01-23 16:31

#11

Log import

My log imported on a fresh install of Mint 20 and the new CQRlog, exported from mint 19 and CQRlog 24, then imported into new system same PC, got 210 errors wrong band, I looked at the error adif and most were missing the band, I will email you the adif error in a bit.

Tom K8WDX

  • Log in or register to post comments

Thu, 2021-02-04 15:30

#12

Log import

I am using ubuntu 20.10 on raspberry pi 4, worked before
I can not upload adif file which i have from Log4Om nor from cqrlog from earlier cqrlog app.

  • Log in or register to post comments

Log import

HI!

Too little information for comment.
You can not do it. Why?
I suppose you have some error messages, or missing qsos or what?


Saku
OH1KH

  • Log in or register to post comments

ik0dwj

ik0dwj's picture

cqrlog version 2.5.1-1 doesn’t even import its own adi files

Cqrlog Ver:2.5.1 (001) Date:2021-01-24
**** DEBUG LEVEL 0 ****
**** CHANGE WITH —debug=1 PARAMETER ****

OS:
Linux version 5.10.0-3-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1) #1 SMP Debian 5.10.12-1 (2021-01-30)
/usr/bin/mysqld
Import failed! TRegExpr exec: empty input string


Giuseppe
IKØDWJ

  • Log in or register to post comments

cqrlog version 2.5.1-1 doesn’t even import its own adi files

HI Giuseppe!

I have warned that at GitHub https://github.com/ok2cqr/cqrlog/issues/323
It is because you have too new FPC (and Lazarus).

There is a bug in FPC regexp that does not allow empty input string. This is not cqrlog problem.
You have to either install Lazarus 2.0.8/fpc3.0.4. It works or another solution is to get latest development version from fpc trunc and compile and use that.
The bug has been fixed there, but there has not been official release after that.

Be aware that you may also have UTF-8 problems with your setup (laz 2.0.10/fpc)


Saku
OH1KH

  • Log in or register to post comments

cqrlog version 2.5.1-1 doesn’t even import its own adi files

HI Giuseppe!

I have warned that at GitHub https://github.com/ok2cqr/cqrlog/issues/323
It is because you have too new FPC (and Lazarus).

There is a bug in FPC regexp that does not allow empty input string. This is not cqrlog problem.
You have to either install Lazarus 2.0.8/fpc3.0.4. It works or another solution is to get latest development version from fpc trunc and compile and use that.
The bug has been fixed there, but there has not been official release after that.

Be aware that you may also have UTF-8 problems with your setup (laz 2.0.10/fpc)


Saku
OH1KH

  • Log in or register to post comments

ik0dwj

ik0dwj's picture

This is not cqrlog problem.

Hi Saku!

I am not using a version that I have compiled.
I am using the cqrlog version 2.5.1-1 .deb package which became available yesterday on debian sid.
The maintainer should be informed.

73


Giuseppe
IKØDWJ

  • Log in or register to post comments

ok2cqr

ok2cqr's picture

Re: This is not cqrlog problem.

Hi Giuseppe,

I created a workaround to fix the problem. It will be part of new version of the cqrlog.

73 Petr, OK2CQR

  • Log in or register to post comments

Fri, 2021-02-05 12:09

#19

ik0dwj

ik0dwj's picture

cqrlog version 2.5.1-1 doesn’t even import its own adi files

The contents of the first part of the log to be imported, the rest has been cut.

ADIF export from CQRLOG for Linux version 2.5.1 (001)
Copyright (C) 2021 by Petr, OK7AN and Martin, OK1RR

Internet: http://www.cqrlog.com

<ADIF_VER:5>3.1.0
<CREATED_TIMESTAMP:15>20210204 180903
<PROGRAMID:6>CQRLOG
<PROGRAMVERSION:11>2.5.1 (001)
<EOH>
<QSO_DATE:8>20210202<TIME_ON:4>2240<TIME_OFF:4>2240<STATION_CALLSIGN:6>IK0DWJ<CALL:8>FG/F5HRY<MODE:2>CW<FREQ:5>7.013<BAND:3>40M<RST_SENT:3>599<RST_RCVD:3>599<NAME:5>Herve<QSL_SENT:1>I<QSL_RCVD:1>N<MY_GRIDSQUARE:6>JN62bk
<TX_PWR:2>80<APP_CQRLOG_DXCC:2>FG<DXCC:2>79<ITUZ:2>11<CQZ:1>8<APP_CQRLOG_QSLS:1>N<CONT:2>NA
<EOR>
<QSO_DATE:8>20210201<TIME_ON:4>1642<TIME_OFF:4>1643<STATION_CALLSIGN:6>IK0DWJ<CALL:6>ZS4JAN<MODE:3>FT8<FREQ:6>18.101<BAND:3>17M<RST_SENT:3>-02<RST_RCVD:3>-11<NAME:3>Jan<QSL_SENT:1>I<QSL_RCVD:1>N<QSL_VIA:5>EA5GL
<GRIDSQUARE:4>KG30<MY_GRIDSQUARE:6>JN62bk<TX_PWR:2>80<APP_CQRLOG_DXCC:2>ZS<DXCC:3>462<ITUZ:2>57<CQZ:2>38<APP_CQRLOG_QSLS:1>N<CONT:2>AF<EQSL_QSL_SENT:1>Y<EQSL_QSLSDATE:8>20210202
<EOR>
<QSO_DATE:8>20210122<TIME_ON:4>0022<TIME_OFF:4>0023<STATION_CALLSIGN:6>IK0DWJ<CALL:4>KP2B<MODE:3>FT8<FREQ:5>5.358<BAND:3>60M<RST_SENT:3>-17<RST_RCVD:3>-07<QSL_SENT:1>I<QSL_RCVD:1>N<QSL_VIA:5>EB7DX<IOTA:6>NA-106
<GRIDSQUARE:4>FK77<MY_GRIDSQUARE:6>JN62bk<TX_PWR:2>15<APP_CQRLOG_DXCC:3>KP2<DXCC:3>285<ITUZ:2>11<CQZ:1>8<APP_CQRLOG_QSLS:1>N<LOTW_QSL_SENT:1>Y<LOTW_QSLSDATE:8>20210122<LOTW_QSL_RCVD:1>Y<LOTW_QSLRDATE:8>20210122
<CONT:2>NA<EQSL_QSL_SENT:1>Y<EQSL_QSLSDATE:8>20210122<EQSL_QSL_RCVD:1>Y<EQSL_QSLRDATE:8>20210122
<EOR>

[CUT]


Giuseppe
IKØDWJ

  • Log in or register to post comments

В настоящее время многие радиолюбителями пользуются теми или иными электронными логами для регистрации собственных QSO. А в последнее время в этом появилась необходимость в связи с необходимостью использования сервиса hamlog. Чтобы загрузить журнал связей в данный сервис, необходимо сначала журнал связей вести с помощью соответствующей компьютерной программы, а затем с помощью этой же программы сделать грамотно преобразование (экспорт) этого журнала в специализированный формат ADIF. Уже после этого на сайте hamlog необходимо соответственно импортировать полученный ADIF файл.

Многие радиолюбители, которые пытаются познать компьютерное дело, имеют проблемы с установкой и работой программ, предназначенных для ведения электронного лога. В то же время, практически все, кто познаёт компьютер, умеют работать в классическом текстовом редакторе, который называется «Блокнот». Будем считать, что напечатать тот или иной текст под силу любому пользователю.

В данной публикации я расскажу про структуру (устройство) файла формата ADIF, а также, как самостоятельно вручную его сформировать.

Формат ADIF по составу является текстовым форматом, а это значит, что его возможно напечатать. Кроме того, какой-либо файл, экспортированный из какого-либо электронного лога, можно открыть в текстовом редакторе (в «Блокноте») и посмотреть, что там внутри. Файл состоит из нескольких строчек заголовка и последующих строчек, которые соответствуют содержимым QSO. Это описание так называемых полей: дата, время, корреспондент, диапазон, локатор, имя, QTH и т.д. Экспортированный ADIF файл в зависимости от того или иного электронного лога (UR5EQF, Logger32 и т.д.) в блокноте может выглядеть по-разному и, на первый взгляд, весьма сложно. Сложность обусловлена большим количеством полей, которые, зачастую, не нужны.

Я сумел практически максимально упростить данный формат до уровня, который приемлемый для сервиса hamlog, максимально сократив число полей. Для hamlog необходимы следующие поля: свой позывной, позывной корреспондента, дата, время (оно на сайте hamlog не отображается, но для загрузки необходимо), модуляция, входящий и исходящий рапорт, диапазон.

Теперь от слов к делу. В общем случае формат описан на многих радиолюбительских сайтах. Но общее описание формата иногда бывает сложно понять, даже мне. На примерах куда проще. Поэтому я буду исходить «от частного к общему». На рисунке показан вид файла ADIF в блокноте с моими подсказками. Это пример из двух моих QSO.


 

Будем считать, что заголовок состоит из двух строк: «<ADIF_VER:4>2.00» и «<EOH>». Кстати, аббревиатура «EOH» переводится, как «End of header», или «конец заголовка». Далее, строчка за строчкой идут записи QSO по вышеперечисленным полям. Поля форматируются очень интересно. Сначала идёт символ «<» (знак «меньше», если вам удобно), потом ключевое слово (по подсказкам видно, какое ключевое слово имеет каждое поле), далее идёт «:» (двоеточие), потом ставится число – количество символов в значении поля, затем символ «>» и далее – значение поля. После описания всех полей ставится ключевая запись «<EOR>» Это обозначает «конец строки». Для примера: <CALL:6>RA4AGB. Цифра 6 – число символов позывного.

Теперь конкретно оговорю нюансы по каждому полю.

1. Поле «OPERATOR» — туда надо писать свой позывной.

2. Поле «CALL» — позывной корреспондента. Можно даже, к примеру, так: <CALL:10>RA4AGB/3/P.

3. Поле «QSO_DATE» — дата в формате «ггггммдд». Сначала год, потом месяц, потом день, и всё слитно.

4. Поле «TIME_ON» — время UTC в формате «ччмм» Часы и минуты пишутся без какого-либо разделительного знака.

5. Поле «MODE» — вид модуляции (работы): CW, SSB, DIGI.

6. Поле «RST_SENT» — исходящий рапорт. Пишется слитно: 59.

7. Поле «RST_RCVD» — входящий рапорт. Аналогично.

8. Поле «BAND» — диапазон: 40M, 80M. Не забываем букву «M» писать английскую.

И, главное, не забывать следить за «грамматикой»: названия полей, длинна значения поля, ключевые слова в конце заголовка и строки. Если всё без ошибок напечатать и сохранить в текстовый формат, то получится загрузить связи на hamlog без проблем. Кстати, формат (расширение) файла «txt» hamlog также понимает.

Подсказка для опытных пользователей. Для ускорения процедуры набора текста можно пользоваться функциями «копировать-вставить». А также можно воспользоваться популярной офисной программой Excel. Формула для девятой колонки “I1” следующая: =СЦЕПИТЬ(«<OPERATOR:»&ДЛСТР(A1)&»>»&A1;»<CALL:»&ДЛСТР(B1)&»>»&B1;»<QSO_DATE:8>»&ТЕКСТ(ГОД(C1);»00″)&ТЕКСТ(МЕСЯЦ(C1);»00″)&ТЕКСТ(ДЕНЬ(C1);»00″);»<TIME_ON:4>»&ТЕКСТ(ЧАС(D1);»00″)&ТЕКСТ(МИНУТЫ(D1);»00″);»<MODE:»&ДЛСТР(F1)&»>»&F1;»<RST_SENT:»&ДЛСТР(G1)&»>»&G1;»<RST_RCVD:»&ДЛСТР(H1)&»>»&H1;»<BAND:»&ДЛСТР(E1)&»>»&E1;»<EOR>»). Плюс ко всему – функция автозаполнения, что распространить эту формулу на всех строках ниже.

Вышесказанная формула Excel для формирования строки формата ADIF предназначена, если в соответствующих колонках дата и время QSO представлена соответственно в числовых форматах «Дата» и «Время» (отображается в форматах «дд.мм.гггг» и «чч:мм»), а не в виде текста, о котором я писал в перечислении выше. В противном случае формула упрощается.

Артём <rv3eeq@mail.ru>

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error scan download
  • Error sans новогодний
  • Error sans музыка скачать
  • Error sans куклы
  • Error sans кот

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии