Unable to add plugin to SDR#1756

lyndx

Member
Joined
Mar 16, 2015
Messages
10
Location
Nassau County, New York
I have successfully installed and run SDR# 1756 on Windows 10 64 bit computer. Would like to add one plugin (DSD Decoder) and followed the procedure I have in the past i.e. add the magic line to the plugins.xml file and place the .dll in the SDR# folder. I get the following error message:

************* Exception Text **************
System.Configuration.ConfigurationErrorsException: 'DSD' is an unexpected token. Expecting white space. Line 13, position 14. (C:\SDR Sharp 1756\Plugins.xml line 13) ---> System.Xml.XmlException: 'DSD' is an unexpected token. Expecting white space. Line 13, position 14.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowExpectingWhitespace(Int32 pos)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil.CopyXmlNode(XmlUtilWriter utilWriter)
at System.Configuration.XmlUtil.CopyElement(XmlUtilWriter utilWriter)
at System.Configuration.XmlUtil.CopySection()
at System.Configuration.BaseConfigurationRecord.LoadConfigSource(String name, SectionXmlInfo sectionXmlInfo)
at System.Configuration.BaseConfigurationRecord.GetSectionXmlReader(String[] keys, SectionInput input)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at SDRSharp.Radio.Utils.GetConfigSection(String sectionName)
at SDRSharp.MainForm.InitialiseSharpPlugins()
at SDRSharp.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at Telerik.WinControls.UI.RadFormControlBase.OnLoad(EventArgs e)
at Telerik.WinControls.UI.RadForm.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at Telerik.WinControls.UI.RadFormControlBase.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SDRSharp
Assembly Version: 1.0.0.1756
Win32 Version: 1.0.0.1756
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.exe
----------------------------------------
SDRSharp.Radio
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.Radio.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Telerik.WinControls.UI
Assembly Version: 2020.3.915.40
Win32 Version: 2020.3.915.40
CodeBase: file:///C:/SDR%20Sharp%201756/Telerik.WinControls.UI.DLL
----------------------------------------
Telerik.WinControls
Assembly Version: 2020.3.915.40
Win32 Version: 2020.3.915.40
CodeBase: file:///C:/SDR%20Sharp%201756/Telerik.WinControls.DLL
----------------------------------------
SDRSharp.Common
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.Common.DLL
----------------------------------------
SDRSharp.PanView
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.PanView.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4220.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TelerikCommon
Assembly Version: 2020.3.915.40
Win32 Version: 2020.3.915.40
CodeBase: file:///C:/SDR%20Sharp%201756/TelerikCommon.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SDRSharp.CollapsiblePanel
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.CollapsiblePanel.DLL
----------------------------------------
SDRSharp.FrequencyEdit
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.FrequencyEdit.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
SDRSharp.HackRF
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.HackRF.DLL
----------------------------------------
SDRSharp.RTLSDR
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.RTLSDR.DLL
----------------------------------------
SDRSharp.RTLTCP
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.RTLTCP.DLL


----------------------------------------


SDRSharp.FUNcube


Assembly Version: 0.0.0.0


Win32 Version: 0.0.0.0


CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.FUNcube.DLL


----------------------------------------


SDRSharp.FUNcubeProPlus


Assembly Version: 1.0.0.0


Win32 Version: 1.0.0.0


CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.FUNcubeProPlus.DLL


----------------------------------------


SDRSharp.SoftRock


Assembly Version: 0.0.0.0


Win32 Version: 0.0.0.0


CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.SoftRock.DLL


----------------------------------------


SDRSharp.SDRIQ


Assembly Version: 0.0.0.0


Win32 Version: 0.0.0.0


CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.SDRIQ.DLL


----------------------------------------


SDRSharp.SDRIP


Assembly Version: 1.0.0.0


Win32 Version: 1.0.0.0


CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.SDRIP.DLL


----------------------------------------


SDRSharp.AfedriSDRNet


Assembly Version: 1.0.0.0


Win32 Version: 1.0.0.0


CodeBase: file:///C:/SDR%20Sharp%201756/SDRSharp.AfedriSDRNet.DLL


----------------------------------------


Telerik.WinControls.Themes.FluentDark


Assembly Version: 2020.3.915.40


Win32 Version: 2020.3.915.40


CodeBase: file:///C:/SDR%20Sharp%201756/Telerik.WinControls.Themes.FluentDark.DLL


----------------------------------------
 

mattwillson

Member
Premium Subscriber
Joined
Nov 18, 2019
Messages
14
Post the data from your plugins.xml for us to try and see what might be causing the issue.
 

lyndx

Member
Joined
Mar 16, 2015
Messages
10
Location
Nassau County, New York
The plugins.xml I used was the one that came with version 1756 to which I added the DSD value key (in bold):
<?xml version="1.0" encoding="utf-8" ?>
<sharpPlugins>
<add key="AF DNR" value="SDRSharp.DNR.AFNoiseReductionPlugin,SDRSharp.DNR" />
<add key="IF DNR" value="SDRSharp.DNR.IFNoiseReductionPlugin,SDRSharp.DNR" />
<add key="Baseband Noise Blanker" value="SDRSharp.NoiseBlanker.BasebandNoiseBlankerPlugin,SDRSharp.NoiseBlanker" />
<add key="IF Noise Blanker" value="SDRSharp.NoiseBlanker.IFNoiseBlankerPlugin,SDRSharp.NoiseBlanker" />
<add key="Demodulator Noise Blanker" value="SDRSharp.NoiseBlanker.DemodulatorNoiseBlankerPlugin,SDRSharp.NoiseBlanker" />
<add key="Wave Recorder" value="SDRSharp.WavRecorder.WavRecorderPlugin,SDRSharp.WavRecorder" />
<add key="Zoom FFT" value="SDRSharp.ZoomFFT.ZoomFFTPlugin,SDRSharp.ZoomFFT" />
<add key="Band Plan" value="SDRSharp.BandPlan.BandPlanPlugin,SDRSharp.BandPlan" />
<add key="Frequency Manager" value="SDRSharp.FrequencyManager.FrequencyManagerPlugin,SDRSharp.FrequencyManager" />
<add key="Signal Diagnostics" value="SDRSharp.Diagnostics.DiagnosticsPlugin,SDRSharp.Diagnostics" />
<add key="DSD" value="SDRSharp.DSD.DSDPlugin,SDRSharp.DSD"/>
</sharpPlugins>

I also tried this with an added key:
<?xml version="1.0" encoding="utf-8" ?>
<sharpPlugins>
<add key="AF DNR" value="SDRSharp.DNR.AFNoiseReductionPlugin,SDRSharp.DNR" />
<add key="IF DNR" value="SDRSharp.DNR.IFNoiseReductionPlugin,SDRSharp.DNR" />
<add key="Baseband Noise Blanker" value="SDRSharp.NoiseBlanker.BasebandNoiseBlankerPlugin,SDRSharp.NoiseBlanker" />
<add key="IF Noise Blanker" value="SDRSharp.NoiseBlanker.IFNoiseBlankerPlugin,SDRSharp.NoiseBlanker" />
<add key="Demodulator Noise Blanker" value="SDRSharp.NoiseBlanker.DemodulatorNoiseBlankerPlugin,SDRSharp.NoiseBlanker" />
<add key="Wave Recorder" value="SDRSharp.WavRecorder.WavRecorderPlugin,SDRSharp.WavRecorder" />
<add key="Zoom FFT" value="SDRSharp.ZoomFFT.ZoomFFTPlugin,SDRSharp.ZoomFFT" />
<add key="Band Plan" value="SDRSharp.BandPlan.BandPlanPlugin,SDRSharp.BandPlan" />
<add key="Frequency Manager" value="SDRSharp.FrequencyManager.FrequencyManagerPlugin,SDRSharp.FrequencyManager" />
<add key="Signal Diagnostics" value="SDRSharp.Diagnostics.DiagnosticsPlugin,SDRSharp.Diagnostics" />
<add key="DSD" value="SDRSharp.DSD.DSDPlugin,SDRSharp.DSD"/>
<add key="DSDtcp" value="SDRSharp.DSDtcp.DSDtcpPlugin,SDRSharp.DSDtcp"/>

</sharpPlugins>

I never had problems with adding plugins before. Previously I had version 1732 runnning with several plugins so I thought it might have something to do with the newest SDR# versions. I did a fresh install of 1732 and ran into the same problem. I also tried the latest Community package with the plugins built in but that won't run either.
 

mattwillson

Member
Premium Subscriber
Joined
Nov 18, 2019
Messages
14
Try adding a space after the last quotation mark:
<add key="DSD" value="SDRSharp.DSD.DSDPlugin,SDRSharp.DSD" />
 

morfis

Member
Joined
Jan 24, 2004
Messages
1,049
Made that change and it allowed 1756 to run but the DSD plug in did not appear.
Tried it in 1732 and still could not run the program.
That would suggest you haven't put the .dll into the sdrsharp directory (or you have changed the dll name)

Note. All the plugin initialisation lines have that space which is why it is usually suggested that copy/paste is used to insert the line.
 

lyndx

Member
Joined
Mar 16, 2015
Messages
10
Location
Nassau County, New York
That would suggest you haven't put the .dll into the sdrsharp directory (or you have changed the dll name)

Note. All the plugin initialisation lines have that space which is why it is usually suggested that copy/paste is used to insert the line.
That was the first thing I checked. The .dll is there and name is correct.
BTW, after following Matt's suggestion about adding the space after the last quotation marks, I took a look at the plugins.xml file that downloaded with the Community version of 1756 and see there is no space in any of the lines. When I have moment, I'll download a new copy and see if that is true again and if the program still won't start. If so, I'll try adding the space in all the lines and see if that makes a difference.
 

mattwillson

Member
Premium Subscriber
Joined
Nov 18, 2019
Messages
14
You have DSD installed in a folder within the SDRSharp folder, have you done that?
 

lyndx

Member
Joined
Mar 16, 2015
Messages
10
Location
Nassau County, New York
Matt,
That was the problem! I have DSD installed elsewhere and forgot to change the path in SDR# so it points to it.
Thanks.
Now that that problem is solved, I’ll go get myself into more trouble trying to see if I can install the Community version of SDR# :)
 
Top