If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

Why doesn't markers.json work?

Started by ihweb, Jan 09, 2025, 04:47 AM

Previous topic - Next topic

ihweb

I have put a markers.json file in the PhantomSDR-Plus directory, and I am sure the file content and format are correct, but it does not work.

{
  "markers": [
    {
      "frequency": 9000,
      "name": "Lightning",
      "mode": "AM"
    },
    {
      "frequency": 172000,
      "name": "SAQ Alexanderson",
      "mode": "CW"
    },
    {
      "frequency": 30000,
      "name": "Lightning",
      "mode": "AM"
    },
    {
      "frequency": 77500,
      "name": "DCF77",
      "mode": "CW"
    }
  ]
}

Phil - NY4Q

#1
You can test the json file at the URL below, and the code you posted does check good.

https://jsonlint.com/

What is the frequency range of your WebSDR?

Also, the markers.json file goes into the same location as your toml file and verify the rw permissions / ownership, etc. of the json.

9a7aof

#2
Quote{
      "frequency": 172000,
      "name": "SAQ Alexanderson",
      "mode": "CW"
    },

SAQ operates at 17.2 kHz, so the frequency in markers.json is 17200

:)


Bas ON5HB

You need to restart the spectrumserver and zoom in a lot to see them.

Did you put them in the Phantom-base-dir?
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

ihweb

#4
I made sure that the markers.json file is in the same directory as toml.
My websdr is 0-30Mhz, RX888.
And I also restarted start-rx888.sh according to the instructions

I don't know what happened, the system just doesn't show the marker.

This is my startup information:


 __                   __ __  __     
|__)|_  _  _ |_ _  _ (_ |  \|__) _|_
|   | )(_|| )|_(_)|||__)|__/| \   | 
                                     

Thank you for using PhantomSDR+, you are supporting the Development of an Open-Source WebSDR Project ♥
Using OpenCL
Using OpenCL platform: NVIDIA CUDA
Using OpenCL device: NVIDIA GeForce GTX 1660 Ti
Markers updated.
Waterfall is sent every 1 FFTs

ihweb

#5
Quote from: Bas ON5HB on Jan 09, 2025, 05:28 PMYou need to restart the spectrumserver and zoom in a lot to see them.

Did you put them in the Phantom-base-dir?


Oh,thank you.   
It is almost normal now. It turns out that it needs to be maximized.

Powered by EzPortal