This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm attempting to control some parts of mmWave studio via MATLAB as outlined in the mmWave Studio user guide.
However, on the first step typing "RSTD.NetStart()" into the mmWave Studio Lua shell gives the following error:
Lua Error: Unrecognised configuration section userSettings/RSTD.Properties.Settings. (C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\RunTime\mmWaveStudio.exe.Config line 9)
Any pointers for how to proceed?
Thanks,
Sam
Hi Sam,
This is a bug in this version of mmWaveStudio.
To fix it, can you please replace the C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\RunTime\mmWaveStudio.exe.config file with the attached version.
This will be fixed in the next release of mmWaveStudio.
Best Regards,
Anand
<?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <section name="RSTD.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/> </sectionGroup> </configSections> <userSettings> <RSTD.Properties.Settings> <setting name="MainConsolePosition" serializeAs="String"> <value>50, 50</value> </setting> <setting name="MainConsoleSize" serializeAs="String"> <value>625, 566</value> </setting> <setting name="MainConsoleZoomFactor" serializeAs="String"> <value>1</value> </setting> <setting name="MainConsoleFilterExclude" serializeAs="String"> <value/> </setting> <setting name="LastScriptsRun" serializeAs="String"> <value/> </setting> <setting name="LastTreePath" serializeAs="String"> <value/> </setting> <setting name="LastMonitorPath" serializeAs="String"> <value/> </setting> <setting name="BrowseTreeSize" serializeAs="String"> <value>854, 582</value> </setting> <setting name="BrowseTreePosition" serializeAs="String"> <value>343, 338</value> </setting> <setting name="LastScriptPath" serializeAs="String"> <value/> </setting> <setting name="LastDllPath" serializeAs="String"> <value/> </setting> <setting name="MainConsoleFilterInclude" serializeAs="String"> <value/> </setting> </RSTD.Properties.Settings> </userSettings> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="LuaInterface" publicKeyToken="1E1FB15B02227B8A" culture="neutral"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="RSTD.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="RSTD.Controls.DockPanelSuite" publicKeyToken="51101D49406257D3" culture="neutral"/> <bindingRedirect oldVersion="0.0.0.0-2.2.3596.32777" newVersion="2.2.3596.32777"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="RstdRemoting" publicKeyToken="51101D49406257D3" culture="neutral"/> <bindingRedirect oldVersion="0.0.0.0-1.0.3700.35917" newVersion="1.0.3700.35917"/> </dependentAssembly> </assemblyBinding> <loadFromRemoteSources enabled="true"/> </runtime> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>
Unfortunately this has not solved the issue. An error is now encountered when opening mmWave Studio and prevents it from opening. Two error message appear, one after the other.
The first: Error registering Lua functions
System.TypeInitializationException:The type initializer for 'RSTD.LuaWrapperUtils'
threw an exception. ---> System.IO.FileLoadException:Mixed mode assembly is
built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0
runtime without additional configuration information.
at LuaInterface.LuaWrapper..ctor()
at LuaRegister.LuaWrapper..ctor()
at RSTD.LuaWrapperUtils..cctor()
---End of inner exception stack trace ---
at RSTD.LuaWrapperUtils.get_LuaWrapper()
at RSTD.frmMain..ctor()
The second: The type initializer for 'RSTD.LuaWrapperUtils' threw an exception.
Stacktrace:
at RSTD.LuaWrapperUtils.get_LuaShellCommands()
at RSTD.frmLuaShell.PrimerHelpMenu()
at RSTD.frmLuaShell..ctor(frmMain main_form)
at RSTD.frmMain..ctor()
at RSTD.Program.Main(String[] args
Restoring to the original config file then allows mmWave Studio to start as normal.
Any help would be appreciated.
Thanks,
Sam