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.

AWR1243: mmWave Studio control via MATLAB Error

Part Number: AWR1243

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

  • Hello Sam,
    Are you trying to run mmWave Studio as a command line? This tool doesn't run in that mode, you need to open the Studio GUI and run the LUA script.

    Regards,
    Jitendra
  • Hi Jitendra,

    I am typing the command RSTD.NetStart() into the Lua shell in the mmWaveStudio GUI,
    I think that's how you are supposed to do it?

    Thanks,
    Sam
  • To clarify I'm on step 1 in section 21 of the mmWave studio user guide.
  • 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

    mmWaveStudio.exe.config
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    <?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">
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 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

  • Closing this thread as this is now being discussed here:
    e2e.ti.com/.../711540