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.
Hi,
My customer would like to run lua script on mmWaveStudio.exe from commandline.
They have 3 lua scripts and want to run sequentially without any interactive operation by user.
Flowing is example of execution:
>mmWaveStudio.exe /lua script1.lua
>mmWaveStudio.exe /lua script2.lua
>mmWaveStudio.exe /lua script3.lua
The 1st line running mmWaveStudio.exe with script1.lua is successful, but after that when running mmWaveStudio.ese again script2.lua, they see error “Application already running. Only one instance of this application is allowed”.
Are there any way to run these 3 lua scripts without any interactive operation?
Thanks,
-Shibata
HI, Shibata:
Did you read the radar studio users guide section 23.1? The document located at: C:\ti\mmwave_studio_02_01_00_00\docs\mmwave_studio_user_guide.pdf
It looks that your lua script need to have an ending of "os.exit()" to exit so that you can start a new lua script.
Best,
Zigang
Hi Zigang,
Thanks for your comment.
By adding os.exit() in the bottom of lua script, mmWaveStudio GUI exits and able to run again with next lua script.
However, customer found the another problem.
When exiting the mmWaveStudio from 1st run, all the configuration done by script1.lua is cleared.
They want to do [DCA1000 ARM] -> [Trigger Frame] -> [Stop Frame] in script2.lua with the configuration done in script1.lua.
Is it possible to [Run] any lua script by external control without exiting mmWaveStudio?
Thanks,
-Shibata
Hi, Shibata:
I consulted within the team. I guess the most immediate solution would be combine the multiple lua script into one.
There is also a MATLAB interface mentioned in the users guide (section 22 in mmwaveStudio user's guide).
Best,
Zigang
Hi Zigang,
Thanks for your comments.
I will discuss with customer and post a new thread if any.
Regards,
-Shibata