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.

MMWAVE-STUDIO: xw_status = mws.rs232Config Script Failed, ERROR: API failed

Part Number: MMWAVE-STUDIO
Other Parts Discussed in Thread: AWRL6844

Tool/software:

Hi Radar team, 

When running raw data capture, I got the following error:

 

[16:43:47]  DLL Version : 1.0
[16:43:47]  --xw_status=0
[16:43:47]  xw_status = mws.sopControl(0, 3)
[16:43:47]  --xw_status = 0
[16:43:47]  xw_status = mws.nReset(0)
[16:43:47]  --xw_status = 0
[16:43:47]  xw_status = mws.rs232Config(0, 86, 1, 0)
[16:43:48]  --xw_status = 3
[16:43:48]  
[16:43:48]  &&&&&&&&&&&&&&&&&&&&
[16:43:48]  ***Script FAILED!***
[16:43:48]  &&&&&&&&&&&&&&&&&&&&
[16:43:48]  Exception message is:
[16:43:48]  C:\Users\xxxxxxx\Desktop\AutomatedRDC58GHz.lua:177: ERROR: API failed

What could be the cause? 

All the best,

Ethan Cope

  • Hi Ethan, 

    Depending on the device, the process for Raw Data Capture differs. Check this link for device-specific guides.

    There are a few things that could cause this error. The most simple cause is if the device isn't set to the correct SOP mode. Double-check your SOP mode switches with the guide for your EVM above. On AWRL6844 specifically there are two switches in the bottom left that always get forgotten!

    Another cause is if the wrong COM port is entered. Ensure that you've updated the EVM COM port in the Lua script you're running, or make sure it's correct in the mmWave studio GUI. 

    Hope this helps, 

    Ethan Cope