Hi Team, seeking support for a customer.
Trying to create a MATLAB automation script for controlling my xWR14xx LFM radar chip from mmWave Studio using MATLAB. I have been following the documentation with the mmWave Studio User Guide on how to send commands from MATLAB to mmWave Studio using a Lua command sent over the RtttNetClientAPI.RtttNetClient.SendCommand() function. If this function executes correctly, it will always return 30000.
I was curious if there is a way to obtain the response from the Lua command to my MATLAB script. As it appears, this SendCommand() function only sends commands but will not return the responses from those commands.
E.g. If I send the following command "ar1.ReadRegister(0xFFFFE214, 0, 31)", in the Lua terminal within mmWave studio, I can receive the response and continue processing it. When I send this command over the SendCommand() from MATLAB it always returns 30000. Is there another command or a way for me to get the response into MATLAB?