Other Parts Discussed in Thread: AWR2243
Hello,
I am using awr2243 with DCA1000, mmWave Studio version mmwave_studio_03_00_00_14.
I am trying to control mmWavestudio from MATLAB as post processing is also being handled in MATLAB, to control all from same software.
I am able to run mmWavestudio and lua scripts from command window and also send some lua commands from MATLAB to mmWavestudio to trigger the frame etc.
Whenever, I run the command 'system('mmWaveStudio.exe /lua .\..\Scripts\myLuaScript.lua &');' which is essentially CMD command to run mmWavestudio but in MATLAB, for some reason, mmWavestudio throws some irrelevant errors sometimes like not able to detect device version etc. where as other times it would not be able to upload MSS FW , mostly will stop and no response. And if I power cycle the board these issues will resolved, at least for the first run after power cycle. I tried putting delays between lua commands but it does not solve the problem.
Therefore, I thought, maybe if I can first run the mmWavestudio without running any lua script first, and then once the mmWavestudio is up and running I can call some lua script from MATLAB and hopefully avoid these errors.
However, I do not know how to call a lua script in MATLAB. Basically imitate the mmWave Studio "run" button functionality in MATLAB.
I hope you could help me with this.
Regards