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.
Regarding Section 23 in mmwave_studio_user_guide.pdf. Once the GUI and been launched, either by clicking the desktop icon or via a command line like this:
c:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\RunTime>mmWaveStudio.exe /lua .\..\Scripts\Auto_command.lua
Is there a way to command mmWave Studio, via a command line operation, to run another lua script?
Regards
Eddie
Hello Eddie,
You can use the command prompt to run any lua script as shown in Section 24 below :
Is this not what you're looking for? Please let me know if I misunderstood your concern, I apologize for that.
Regards,
Ishita
Ishita
Thanks for the response.
This question also related to this:
https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1044931/mmwcas-dsp-evm-is-there-a-way-to-control-the-dsp-evm-without-the-mmwave-studio/3867089#3867089
I have done what you said in your response (and also referenced in Section 24). It worked as expected.
I used a Python script to launch the mmWaveStudio with an associated Lua script, and it ran as expected
This works like this:
1) Command line call launches mmWave Studio with a named script.
Something like this > mmWaveStudio.exe /lua .\..\FirstScriptToRun.lua
2) mmWave Studio launches
3) Referenced Lua script executes and completes
4) Optionally, the Lua script can call os.exit(), which terminates mmWave Studio or if os.exit() is not called, mmWave Studio say up
5) What I want to do next, is to command 2nd Lua script to the mmWave Studio, after the first script has finished, but before mmWave Studio is closed.
Something like this > "mmWaveStudio.exe /lua .\..\NextScriptToRun.lua"
Is there a way to command another Lua script from the command line when mmWave Studio is active?
Thanks for your help
Eddie
Eddie,
Thanks for the detailed explanation here.
Let me analyze your usecase and see if that's possible. Please give me some time to come up with a solution if possible.
I will get back to you on this before the end of this week. Hope that's okay.
Regards,
Ishita
Hello Eddie,
I see you were able to find a solution using the "mmWaveLink_Cascade_Example" application which controls the DSP EVM without the mmWave Studio that serves your purpose.
I will mark this thread resolved as well.
Thanks & Regards,
Ishita