TI中文支持网
TI专业的中文技术问题搜集分享网站

在用命令行打开mmWave Studio时遇到错误

我在命令行中输入命令:F:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\RunTime\mmWaveStudio.exe后,mmWave Studio会打开,但mmWave Studio的Output窗口中会显示如下错误,请问该怎么解决:

GM: Constructor
GM: Mon Jan 11 16:37:46 2021
RSTD.Transmit("/Settings")
[16:37:46][16:37:46] ### Running Startup script: "F:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[16:37:46] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[16:37:46] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[16:37:46] Scripter ignored: Attempt to UnBuild() again or before Build.
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "F:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[16:37:46] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "F:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[16:37:46] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[16:37:46] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[16:37:46] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[16:37:46] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[16:37:46] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[16:37:46] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[16:37:47] RSTD.Transmit("/")
[16:37:47] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[16:37:47] RSTD.Build()
[16:37:47] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[16:37:47] RSTD.Transmit("/")
[16:37:47] RSTD.AL_Build()
[16:37:47] RSTD.AL_LoadXml()
[16:37:47] RSTD.Transmit("/")
[16:37:47] RSTD.AL_Init()
[16:37:47] RSTD.Clients_Build()
[16:37:47] GM: Init
[16:37:47] GM: Loaded 'F:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Clients\\LabClient.dll'
[16:37:47] GM: 1 Guest (s) init
[16:37:47] GM: 1 Module(s) init
[16:37:47] GM: 2 Tab (s) init
[16:37:47] RSTD.Client_LoadXml()
[16:37:47] [RadarAPI]: Starting Matlab Engine..
[16:37:49] [RadarAPI]: Error:[16:37:49][16:37:49] … MWMCR::EvaluateFunction error …[16:37:49] Invalid file identifier. Use fopen to generate a valid file identifier.
[16:37:49] Error in => Initialize_PostProcEngine.m at line 102.
[16:37:49][16:37:49] … Matlab M-code Stack Trace …
[16:37:49] at
[16:37:49] file C:\Users\ADMINI~1\AppData\Local\Temp\Administrator\mcrCache8.5.1\Matlab0\MatlabPostPr\Initialize_PostProcEngine.m, name Initialize_PostProcEngine, line 102.
[16:37:49][16:37:49][16:37:49] Trace:
[16:37:49] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[16:37:49] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[16:37:49] 在 MatlabPostProcGui.MatlabPostProcGUIClass.Initialize_PostProcEngine(MWArray BaseFolder)
[16:37:49] 在 AR1xController.frmAR1Main.InitMatlabPostProcEngine(String PostProcesspath)
[16:37:49] [RadarAPI]: Error: Error occured in Matlab Initialization
[16:37:49] [RadarAPI]: Matlab Engine couldn't be Started..
[16:37:51] [RadarAPI]: ar1.LoadSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[16:37:51] [RadarAPI]: Error:[16:37:51][16:37:51] … MWMCR::EvaluateFunction error …[16:37:51] Attempt to reference field of non-structure array.
[16:37:51] Error in => postProcVersion.m at line 3.
[16:37:51][16:37:51] … Matlab M-code Stack Trace …
[16:37:51] at
[16:37:51] file C:\Users\ADMINI~1\AppData\Local\Temp\Administrator\mcrCache8.5.1\Matlab0\MatlabPostPr\postProcVersion.m, name postProcVersion, line 3.
[16:37:51][16:37:51][16:37:51] Trace:
[16:37:51] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[16:37:51] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, MWArray[] argsIn)
[16:37:51] 在 MatlabPostProcGui.MatlabPostProcGUIClass.postProcVersion()
[16:37:51] 在 AR1xController.ScriptOps.getMatlabPostProcVersion()
[16:37:51] TESTING = false
[16:37:51][16:37:51] ***Script completed successfully.***

Chris Meng:

你好,

你使用的mmwave studio的版本太老了,请到TI官网下载最新的版本。

报错是和matlab相关的,请确认是否正确安装matlab runtime的库。下面的blog请参考:
e2echina.ti.com/…/dca1000evm

user6468865:

回复 Chris Meng:

您好,
我用的是AWR1642BOOST ES1.0,所以mmWave Studio只能用1.0.0.0版本的。

我已经正确安装matlab runtime的库,因为在桌面点击mmWave Studio的图标是可以正常打开,不会报错的,但如果用命令行打开mmWave Studio就会报这样的错误。我们现在想要实现的功能需要我们在命令行中打开mmWave Studio,请问我们该怎么办?

Chris Meng:

回复 user6468865:

你好,

你可以更新到最新的mmwave studio,只要选择下载的firmware是支持awr1642 es1.0的就可以了。

我刚才尝试了mmwave_studio_02_01_01_00,在命令行下运行mmWaveStudio.exe是可以正常打开mmwave studio的。

user6468865:

回复 Chris Meng:

您好,
我们发现问题所在了,我们不应该在命令行的根目录C:\Users\Administrator下直接输入F:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\RunTime\mmWaveStudio.exe,而应该在命令行窗口中先进入F:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\RunTime文件夹,然后再输入mmWaveStudio.exe运行mmWave Studio,这样就正常,不会报错了。

赞(0)
未经允许不得转载:TI中文支持网 » 在用命令行打开mmWave Studio时遇到错误
分享到: 更多 (0)