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.

TIDEP-01012: How to control the serial port from a mmwave studio .lua script

Part Number: TIDEP-01012

Dear TI Support

I want to send a command string to the computer serial port from a .lua script running in the TI mmWave Studio in order to control and synchronise a piece of test kit with the TIDEP-01012 radar measurements.  

Ideally these commands would be added to the Cascade_Capture.lua in order to configure the test equipment prior to iniating data capature.

So can you let me know if it is possible to send commands/strings to a serial port from a .lua script running in TI mmWave Studio and how this can be done?

Best regards

Jonathan

  • Hello Jonathan,

    I think we might have something for you on this. Let me check with the internal team and get back to you.

    Regards,

    Ishita

  • Hello Jonathon,

    Include the SerialPortController DLL (You can find this at following location ...\mmwave_studio_03_00_00_14\mmWaveStudio\Clients\SerialPortController)  

    And use the following commands:

    - serialport.SetParams

    - serialport.Connect

    - serialport.Write

    - serialport.Read

    - serialport.Disconnect

    - serialport.Release

     Lua help in mmWave studio should explain the parameters for these commands, as well as some more available functions in the serialport DLL.

    Regards,

    Ishita