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.

DCA1000EVM: how to automate all of the steps of using the mmwave studio in LUA

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR2243BOOST,

Hi there,

I'm trying to automate the operation of my AWR2243BOOST/DCA1000EVM as much as possible, and one thing that will be really helpful is a script that will do all of the steps that a person does when operating mmwave studio.

In C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\Scripts, I can see:

"DataCaptureDemo_xWR.lua" which does all of the steps from (3) until post-processing as in this screenshot of the gui:

but i'd like a lua script that does steps (1) and (2) and connects to the DCA as well. What commands should I use for them?

  • Hi David,

    You can set the command from the GUI and see which API has been called in the output window. You can then use the same command in the lua script. For additional info you can also use the help command. E.g: "help ar1.cmommand()"

    Regards,

    Kaushik

  • Hi Kaushik,

    Whether I write the first command, "arl.FullResert()" into an existing example script, or a new one, or write it directly into the shell I get the same error message

    it always gives the error "attempt to index global 'art' (a nil value'"

    What could be the cause of it?

  • Hi David,

    Looks like you have typo there. it should be ar1 (ends with numeric one).

    And mmWave Studio provides many of the LUA scripts which you can use for your purpose and edit.

    C:\ti\mmwave_studio_03_00_00_xx\mmWaveStudio\Scripts  (use from your installed mMWave Studio installation).

    .

    Regards,

    Jitendra