Adding an external AFEDRI-Net


sm6fhz
 

Hi Simon and all.
I think it has been discussed before, but it became evident once again :-)
I wanted to make an "Identity" especially for NDB's using my remote AFEDRI-Net.
However, I could not find a way to "find" the AFEDRI and connect to it from this new identity. "Search" did not work, naturally, as it is not in my local network.
Using the "Add" dialog box there is no such choice for Dll's as AFEDRI-Net.



I did manage to set up the remote AFEDRI-Net as a NetSDR. Some features differs like BW and Gain settings but it works.



I have one Identity running with the remote AFEDRI-Net but that was set up with the AFEDRI-Net locally and after that edited to the correct IP address. This was not an option now as the AFEDRI-Net is remote now, not local :-(
Works fine, but I could not find a way to copy this definition to the new identity :-( 
Is there such an possibility?

It would be very convenient if the AFEDRI-Net was an alternative in the "Add" dialog window to make it possible to set-up and connect to a remote AFEDRI-Net.

73 / Ingolf, SM6FHZ


Simon Brown
 

Hi,

 

Why not use the server – this will result in reduced bandwidth?

 

Request noted, a week or two.

 

You could also add it locally, then carefully edit the XML file where definitions are saved.

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 11 January 2022 16:14
To: main@SDR-Radio.groups.io
Subject: [SDR-Radio] Adding an external AFEDRI-Net

 

Hi Simon and all.
I think it has been discussed before, but it became evident once again :-)
I wanted to make an "Identity" especially for NDB's using my remote AFEDRI-Net.
However, I could not find a way to "find" the AFEDRI and connect to it from this new identity. "Search" did not work, naturally, as it is not in my local network.
Using the "Add" dialog box there is no such choice for Dll's as AFEDRI-Net.



I did manage to set up the remote AFEDRI-Net as a NetSDR. Some features differs like BW and Gain settings but it works.



I have one Identity running with the remote AFEDRI-Net but that was set up with the AFEDRI-Net locally and after that edited to the correct IP address. This was not an option now as the AFEDRI-Net is remote now, not local :-(
Works fine, but I could not find a way to copy this definition to the new identity :-( 
Is there such an possibility?

It would be very convenient if the AFEDRI-Net was an alternative in the "Add" dialog window to make it possible to set-up and connect to a remote AFEDRI-Net.

73 / Ingolf, SM6FHZ


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


sm6fhz
 

Thanks Simon.
I have used the server before but after repairing switches etc. after a lightning stroke nearby, the server on the PC does not want to play with me :-)
I guess I need to reinstall the server and set up the firewall again etc. etc.
The PC works well accessing the Internet and so on, it is just the server that refuses to connect.
Besides that, I felt that I got better performance from my AFEDRI going direct via Ethernet to it, rather than going via the server. I never concluded why it felt like that.
I found the XML-file for both Identities and found the proper line but could not find an editor that allowed me to update the new Identity.
What editor should be used for that?
Anyway, getting the AFEDRI-Net in the "Add" window would be great.
73 / Ingolf, SM6FHZ


Simon Brown
 

Hi,

 

You can edit XML with notepad – save the file before editing ‘just in case’.

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 11 January 2022 20:33
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

Thanks Simon.
I have used the server before but after repairing switches etc. after a lightning stroke nearby, the server on the PC does not want to play with me :-)
I guess I need to reinstall the server and set up the firewall again etc. etc.
The PC works well accessing the Internet and so on, it is just the server that refuses to connect.
Besides that, I felt that I got better performance from my AFEDRI going direct via Ethernet to it, rather than going via the server. I never concluded why it felt like that.
I found the XML-file for both Identities and found the proper line but could not find an editor that allowed me to update the new Identity.
What editor should be used for that?
Anyway, getting the AFEDRI-Net in the "Add" window would be great.
73 / Ingolf, SM6FHZ


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


sm6fhz
 

OK Simon.
I had looked at it in Notepad but the formatting was not easy to read. It looked completely garbled ;-)
At a closer look, i could see the separate statements and insert the line/statement for AFEDRI in the XML-file.
And, it worked!
Thanks for the guidance, Simon.
I am now happily listening to the AFEDRI-Net in the new Identity.
73 / Ingolf, SM6FHZ


Frank Eichel
 

You can use NotePad++ to edit an XML file, it displays the file in the proper format.

73, Frank VE7AWV 

On Tue., Jan. 11, 2022, 1:00 p.m. sm6fhz, <ingolf.fhz@...> wrote:
OK Simon.
I had looked at it in Notepad but the formatting was not easy to read. It looked completely garbled ;-)
At a closer look, i could see the separate statements and insert the line/statement for AFEDRI in the XML-file.
And, it worked!
Thanks for the guidance, Simon.
I am now happily listening to the AFEDRI-Net in the new Identity.
73 / Ingolf, SM6FHZ


Ken Sejkora
 

Notepad has always worked for me to edit XML files.  Perhaps right-click on the file in Explorer and select “Open with” and choose Notepad.

 

Having said that, I use open-source Notepad++ as my editor.  Much more versatile than Windows Notepad.

 

Ken – WBØOCV

 

From: sm6fhz
Sent: Tuesday, January 11, 2022 04:00 PM
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

OK Simon.
I had looked at it in Notepad but the formatting was not easy to read. It looked completely garbled ;-)
At a closer look, i could see the separate statements and insert the line/statement for AFEDRI in the XML-file.
And, it worked!
Thanks for the guidance, Simon.
I am now happily listening to the AFEDRI-Net in the new Identity.
73 / Ingolf, SM6FHZ

 


sm6fhz
 

Hi Frank and Ken.
Thanks for the hint.
I have installed it, but still all the lines are not separated.
If I look in a Web-browser the lines are nicely indented and each statement in it's own row.





Maybe there is a way to get a better structured view in NotePad++? But how to?

73 / Ingolf, SM6FHZ


Simon Brown
 

Which version are you using? With V3.1 it should look good ‘as-is’ in notepad.

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 12 January 2022 11:11
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

Hi Frank and Ken.
Thanks for the hint.
I have installed it, but still all the lines are not separated.
If I look in a Web-browser the lines are nicely indented and each statement in it's own row.





Maybe there is a way to get a better structured view in NotePad++? But how to?

73 / Ingolf, SM6FHZ


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


sm6fhz
 

Hi Simon.

SDRC 3.1 build 2440 of December 1st, 2021.



73 / Ingolf


Simon Brown
 

Hi,

 

You image below is not bad.

 

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 12 January 2022 14:15
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

Hi Simon.

SDRC 3.1 build 2440 of December 1st, 2021.



73 / Ingolf


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


sm6fhz
 

Yes, that one is what I would expect. That is when I look at the .XML-file in Chrome Web-browser.
It is the other one (the first, above the god one) that is from NotePad++, that does not split the statements in a nice way for reading the code.
It is only of curiosity from my side, if NotePad++ (that is meant to edit code) can be set up for doing that in a nice way.
Of academic interest :-) I have already edited the XML-file as you suggested :-)
73 / Ingolf


Simon Brown
 

OK,

 

Some browsers don’t honour the line breaks and other formatting, they don’t have to. Use a real XML editor such as XML Notepad.

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 12 January 2022 17:40
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

Yes, that one is what I would expect. That is when I look at the .XML-file in Chrome Web-browser.
It is the other one (the first, above the god one) that is from NotePad++, that does not split the statements in a nice way for reading the code.
It is only of curiosity from my side, if NotePad++ (that is meant to edit code) can be set up for doing that in a nice way.
Of academic interest :-) I have already edited the XML-file as you suggested :-)
73 / Ingolf


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Curt Faulk
 

Ingolf:

At least for me, when viewing these files in Notepad++, 'Word wrap' must be turned OFF.

Menu Bar>View>Word wrap = unchecked.

This produces the desired result.


sm6fhz
 

Hi Curt.
Unchecking "Word wrap" results in one loooong line of statements for me with the SDRC Radio Definitions file.
I am using NotePad++ v8.2 64 bit.
/ Ingolf


Dennis Matzen
 

Looks like some option in Notepad++ is set to not recognize the <> line separators. Here is what the file looks like on my system when viewed in notepad++


--
Dennis
KA6FUB


Curt Faulk
 

Ingolf:

Yes, it does for me too. 

But then I can at least see the various fields in (what for me) is a more orderly way of viewing them and knowing which radio definition line I'm on.


jdow
 

Um, that's only if you have notepad set for word wrap and it still looks like well ripened XML poo. It's a "feature" not a bug, though. It's more or less how XML is defined. Since white space is semi-meaningless in XML I simply put in a whole bunch of new lines. Note also that the protagonist in this story is using Notepad++ not Notepad.

I cheat - I use the Visual Studio editor.

{^_-}

On 20220112 06:05:26, Simon Brown wrote:

Which version are you using? With V3.1 it should look good ‘as-is’ in notepad.

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 12 January 2022 11:11
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

Hi Frank and Ken.
Thanks for the hint.
I have installed it, but still all the lines are not separated.
If I look in a Web-browser the lines are nicely indented and each statement in it's own row.





Maybe there is a way to get a better structured view in NotePad++? But how to?

73 / Ingolf, SM6FHZ


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Frank Eichel
 

Hi Ingolf,

You have to add the XML plugin to Notepad++ and then select "Pretty print" or "Pretty print - indent attributes" in the XML Tools menu under Plugins to reformat the XML file for a more attractive appearance on-screen.


In days of old, Notepad++ reformatted the XML file automatically but I suppose the newer versions of the program rely on the plugin.

73, Frank VE7AWV



On Wed, 12 Jan 2022 at 20:52, jdow <jdow@...> wrote:
Um, that's only if you have notepad set for word wrap and it still looks like well ripened XML poo. It's a "feature" not a bug, though. It's more or less how XML is defined. Since white space is semi-meaningless in XML I simply put in a whole bunch of new lines. Note also that the protagonist in this story is using Notepad++ not Notepad.

I cheat - I use the Visual Studio editor.

{^_-}

On 20220112 06:05:26, Simon Brown wrote:

Which version are you using? With V3.1 it should look good ‘as-is’ in notepad.

 

Simon Brown, G4ELI

https://www.sdr-radio.com

 

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> On Behalf Of sm6fhz
Sent: 12 January 2022 11:11
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Adding an external AFEDRI-Net

 

Hi Frank and Ken.
Thanks for the hint.
I have installed it, but still all the lines are not separated.
If I look in a Web-browser the lines are nicely indented and each statement in it's own row.





Maybe there is a way to get a better structured view in NotePad++? But how to?

73 / Ingolf, SM6FHZ


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


sm6fhz
 

Thanks Frank.
Now you are talking!
Installing the "XML Tools" and choosing "Pretty print" the indentation and line breaks are as expected.
Now it is easy to read the code.
Thanks again!
BTW Frank, not much here from western Canada on the MW-band this season. We usually have at least a few openings to the west coast but this year mostly east coast stations coming through.
Listening to music on CKNB on 950 kHz with nice quality while writing this.
73 / Ingolf, SM6FHZ