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: Inquiry Regarding Error with Parameter Changes in mmWave Studio

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1642BOOST

Tool/software:

Dear Texas Instruments Support Team,,

I hope this message finds you well. I am currently using MATLAB to run mmWave Studio. I have previously asked about this issue, but since I haven't received a response yet, I kindly ask for your assistance again.

I am running MATLAB using the DataCaptureDemo_xWR.lua script provided by TI. I am only changing the parameters in the sections highlighted in the attached image.

However, when I modify the parameters, I encounter an error as shown in the attached image. The setup works fine when the number of frames is small, but when the number of frames reaches 600, resulting in a radar operation time of 30 seconds, the error occurs.

 ("The process cannot access the file because it is being used by another process.")

Could you please provide guidance on how to resolve this issue?

I am using the AWR1642BOOST and DCA1000 devices, and the mmWave Studio version is 02_01_01_00.

Thank you for your help.

Best regards,

Kim.

  • Hi Kim,

    Can you share the complete log after running the Lua script.

    Regards,

    Shruti

  • Hi Shruti,

    Please find the requested information attached.

    @@@@@@@@@@@@@@@@@@@@

    GM: Constructor
    GM: Wed Sep 04 15:25:36 2024
    RSTD.Transmit("/Settings")
    [15:25:38]
    [15:25:38] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [15:25:38] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [15:25:39] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [15:25:39] Scripter ignored: Attempt to UnBuild() again or before Build.
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [15:25:39] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [15:25:39] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [15:25:39] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [15:25:39] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [15:25:39] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [15:25:39] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [15:25:39] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [15:25:39] RSTD.Transmit("/")
    [15:25:39] RSTD.SaveSettings(): Settings saved to "C:\Users\bu247\AppData\Roaming\RSTD\config.xml"
    [15:25:40] RSTD.Build()
    [15:25:40] RSTD.SaveSettings(): Settings saved to "C:\Users\bu247\AppData\Roaming\RSTD\config.xml"
    [15:25:40] RSTD.Transmit("/")
    [15:25:40] RSTD.AL_Build()
    [15:25:40] RSTD.AL_LoadXml()
    [15:25:40] RSTD.Transmit("/")
    [15:25:40] RSTD.AL_Init()
    [15:25:40] RSTD.Clients_Build()
    [15:25:40] GM: Init
    [15:25:40] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [15:25:40] GM: 1 Guest (s) init
    [15:25:40] GM: 1 Module(s) init
    [15:25:40] GM: 2 Tab (s) init
    [15:25:40] RSTD.Client_LoadXml()
    [15:25:42] [RadarAPI]: ar1.selectRadarMode(0)
    [15:25:42] [RadarAPI]: Status: Passed
    [15:25:42] Matlab Runtime Engine is installed
    [15:25:42] [RadarAPI]: Starting Matlab Engine..
    [15:26:42] [RadarAPI]: Matlab Engine Started!
    [15:26:47] [RadarAPI]: ar1.selectCascadeMode(0)
    [15:26:47] [RadarAPI]: Status: Passed
    [15:26:47] [RadarAPI]: ar1.LoadSettings('C:\Users\bu247\AppData\Roaming\RSTD\ar1gui.ini')
    [15:26:47] TESTING = false
    [15:26:48] RstdNet: Port 2777: Listening..
    [15:26:48]
    [15:26:48] ***Script completed successfully.***
    [15:29:00] [RadarAPI]: Opening Gpio Control Port()
    [15:29:00] [RadarAPI]: Status: Passed
    [15:29:00] [RadarAPI]: Opening Board Control Port()
    [15:29:00] [RadarAPI]: Status: Passed
    [15:29:02] [RadarAPI]: ar1.FullReset()
    [15:29:02] [RadarAPI]: Status: Passed
    [15:29:02] [RadarAPI]: Closing Board Control Port()
    [15:29:02] [RadarAPI]: Status: Passed
    [15:29:02] [RadarAPI]: Closing Gpio Control Port()
    [15:29:02] [RadarAPI]: Status: Passed
    [15:29:02] [RadarAPI]: ar1.SOPControl(2)
    [15:29:02] [RadarAPI]: Status: Passed
    [15:29:03] [RadarAPI]: ar1.Connect(11,921600,1000)
    [15:29:06] [RadarAPI]: Warning: Connected with baudrate 115200
    [15:29:07] [RadarAPI]: Warning: Disconnected existing BaudRate
    [15:29:07] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [15:29:08] [RadarAPI]: ar1.Calling_IsConnected()
    [15:29:10] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [15:29:10] [RadarAPI]: Status: Passed
    [15:29:10] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [15:29:10] [RadarAPI]: Status: Passed
    [15:29:10] [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [15:29:10] [RadarAPI]: Status: Passed
    [15:29:10] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [15:29:10] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [15:29:10] [RadarAPI]: Status: Passed
    [15:29:10] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [15:29:10] [RadarAPI]: ar1.SaveSettings('C:\Users\bu247\AppData\Roaming\RSTD\ar1gui.ini')
    [15:29:11] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [15:29:12] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [15:29:14] [RadarAPI]: ar1.GetBSSFwVersion()
    [15:29:14] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [15:29:15] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [15:29:15] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [15:29:15] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [15:29:15] [RadarAPI]: Downloading MSS RPRC Binary..
    [15:29:18] [RadarAPI]: ar1.GetMSSFwVersion()
    [15:29:18] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [15:29:19] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [15:29:19] [RadarAPI]: Status: Passed
    [15:29:19] MSS power up done async event received!
    [15:29:21] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [15:29:21] [RadarAPI]: Status: Passed
    [15:29:21] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [15:29:21] [RadarAPI]: Status: Passed
    [15:29:21] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [15:29:21] [RadarAPI]: ar1.RfEnable()
    [15:29:21] BSS power up done async event received!
    [15:29:21] [RadarAPI]: Status: Passed
    [15:29:21] [RadarAPI]: ar1.GetMSSFwVersion()
    [15:29:21] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [15:29:22] [RadarAPI]: ar1.GetBSSFwVersion()
    [15:29:22] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [15:29:23] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [15:29:23] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [15:45:43] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [15:45:43] [RadarAPI]: Status: Passed
    [15:45:44] [RadarAPI]: ar1.LPModConfig(0, 0)
    [15:45:44] [RadarAPI]: Status: Failed, Error Type: REGULAR ADC MODE NOT SUPPORTED IN 5 MHz PART VARIANT DEVICE
    [15:45:45] [RadarAPI]: ar1.RfInit()
    [15:45:45] RF Init async event received!
    [15:45:45] [RadarAPI]: Status: Passed
    [15:45:45] [RadarAPI]: Time stamp, Temperture: 983795,52; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 1, 1;
    [15:45:45] [RadarAPI]: ar1.SetCalMonFreqLimitConfig(77,81)
    [15:45:46] [RadarAPI]: Status: Passed
    [15:45:50] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [15:45:50] [RadarAPI]: Status: Passed
    [15:45:52] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [15:45:52] [RadarAPI]: Status: Passed
    [15:45:53] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [15:45:53] [RadarAPI]: Status: Passed
    [15:46:50] [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [15:46:50] [RadarAPI]: Sending dll_version command to DCA1000
    [15:46:51] [RadarAPI]:
    [15:46:51] DLL Version : 1.0
    [15:46:51] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [15:46:51] [RadarAPI]: Status: Passed
    [15:46:53] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [15:46:53] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [15:46:53] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [15:46:54] [RadarAPI]: Sending fpga command to DCA1000
    [15:46:54] [RadarAPI]:
    [15:46:54] FPGA Configuration command : Success
    [15:46:54] [RadarAPI]: Sending record command to DCA1000
    [15:46:54] [RadarAPI]:
    [15:46:54] Configure Record command : Success
    [15:46:54] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [15:46:54] [RadarAPI]: Sending fpga_version command to DCA1000
    [15:46:55] [RadarAPI]:
    [15:46:55]
    [15:46:55] FPGA Version : 2.9 [Record]
    [15:46:55]
    [15:48:04] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 5000, 0, 0, 30)
    [15:48:04] [RadarAPI]: Status: Passed
    [15:48:19] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4500, 0, 0, 30)
    [15:48:19] [RadarAPI]: Status: Passed
    [15:48:30] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4100, 0, 0, 30)
    [15:48:30] [RadarAPI]: Status: Passed
    [15:48:39] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4005, 0, 0, 30)
    [15:48:39] [RadarAPI]: Status: Passed
    [15:48:51] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4001, 0, 0, 30)
    [15:48:51] [RadarAPI]: Status: Passed
    [15:49:29] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4200, 0, 0, 30)
    [15:49:29] [RadarAPI]: Status: Passed
    [15:49:35] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [15:49:35] [RadarAPI]: Status: Passed
    [15:49:37] Test Source Already Disabled...!!!
    [15:49:37] [RadarAPI]: ar1.DisableTestSource(0)
    [15:49:37] [RadarAPI]: Status: Passed
    [15:49:37] [RadarAPI]: ar1.FrameConfig(0, 0, 600, 8, 50, 0, 0, 1)
    [15:49:37] [RadarAPI]: Status: Passed
    [15:49:40] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\kikikiki.bin", 1)
    [15:49:41] [RadarAPI]: Sending start_record command to DCA1000
    [15:50:12] [RadarAPI]:
    [15:50:12] Start Record command : Success
    [15:50:12]
    [15:50:12] No LVDS data
    [15:50:12]
    [15:50:12] Record stop is done successfully
    [15:50:31] [RadarAPI]: ar1.StartFrame()
    [15:50:31] [RadarAPI]: Status: Passed
    [15:50:31] Frame start async event received!
    [15:51:01] Frame End async event received!
    [15:51:01] [RadarAPI]: Frame Ended
    [15:51:14] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\kikikiki.bin")
    [15:51:14] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 600
    [15:51:14] Error : The number of files captured is zero!
    [15:51:16] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\kikikiki.bin")
    [15:51:16] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 600
    [15:51:16] Error : The number of files captured is zero!
    [15:51:18] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\kikikiki.bin")
    [15:51:18] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 600
    [15:51:18] Error : The number of files captured is zero!
    [15:51:20] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\kikikiki.bin")
    [15:51:20] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 600
    [15:51:20] Error : The number of files captured is zero!
    [15:51:28] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\kikikiki.bin")
    [15:51:28] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 600
    [15:51:28] Error : The number of files captured is zero!
    [15:53:33] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4500, 0, 0, 30)
    [15:53:33] [RadarAPI]: Status: Passed
    [15:53:54] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4500, 0, 0, 30)
    [15:53:54] [RadarAPI]: Status: Passed
    [15:53:56] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 4500, 0, 0, 30)
    [15:53:56] [RadarAPI]: Status: Passed
    [15:54:04] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [15:54:04] [RadarAPI]: Status: Passed
    [15:54:06] Test Source Already Disabled...!!!
    [15:54:06] [RadarAPI]: ar1.DisableTestSource(0)
    [15:54:06] [RadarAPI]: Status: Passed
    [15:54:06] [RadarAPI]: ar1.FrameConfig(0, 0, 600, 8, 50, 0, 0, 1)
    [15:54:07] [RadarAPI]: Status: Passed
    [15:54:10] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [15:54:10] [RadarAPI]: Sending start_record command to DCA1000
    [15:54:40] [RadarAPI]:
    [15:54:40] Start Record command : Success
    [15:54:40]
    [15:54:40] No LVDS data
    [15:54:40]
    [15:54:40] Record stop is done successfully
    [15:55:02] [RadarAPI]: ar1.StartFrame()
    [15:55:02] [RadarAPI]: Status: Passed
    [15:55:02] Frame start async event received!
    [15:55:32] Frame End async event received!
    [15:55:32] [RadarAPI]: Frame Ended
    [15:55:42] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin")
    [15:55:42] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 600
    [15:55:42] Error : The number of files captured is zero!
    [15:56:37] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 5000, 0, 0, 30)
    [15:56:37] [RadarAPI]: Status: Passed
    [15:56:40] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [15:56:40] [RadarAPI]: Status: Passed
    [15:56:46] Test Source Already Disabled...!!!
    [15:56:46] [RadarAPI]: ar1.DisableTestSource(0)
    [15:56:46] [RadarAPI]: Status: Passed
    [15:56:46] [RadarAPI]: ar1.FrameConfig(0, 0, 600, 8, 50, 0, 0, 1)
    [15:56:46] [RadarAPI]: Status: Passed
    [15:56:48] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [15:56:48] [RadarAPI]: Sending start_record command to DCA1000
    [15:56:48] [RadarAPI]: ar1.StartFrame()
    [15:56:48] [RadarAPI]: Status: Passed
    [15:56:49] Frame start async event received!
    [15:57:18] [RadarAPI]: Frame Ended
    [15:57:21] [RadarAPI]:
    [15:57:21] Frame End async event received!
    [15:57:21] [RadarAPI]:
    [15:57:21] Start Record command : Success
    [15:57:21]
    [15:57:21] Record is completed
    [15:57:21]
    [15:57:21] Record stop is done successfully
    [15:57:29] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin")
    [15:57:29] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 600
    [15:57:32] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin")
    [15:57:32] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 600
    [15:57:34] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin")
    [15:57:34] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 600
    [15:57:37] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin")
    [15:57:37] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 600
    [15:57:41] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin")
    [15:57:41] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 600
    [16:00:12] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 5000, 0, 0, 30)
    [16:00:12] [RadarAPI]: Status: Passed
    [16:00:15] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [16:00:15] [RadarAPI]: Status: Passed
    [16:00:15] Test Source Already Disabled...!!!
    [16:00:15] [RadarAPI]: ar1.DisableTestSource(0)
    [16:00:15] [RadarAPI]: Status: Passed
    [16:00:15] [RadarAPI]: ar1.FrameConfig(0, 0, 600, 8, 50, 0, 0, 1)
    [16:00:16] [RadarAPI]: Status: Passed
    [16:00:17] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [16:00:17] [RadarAPI]: Sending start_record command to DCA1000
    [16:00:32] [RadarAPI]: ar1.StartFrame()
    [16:00:32] [RadarAPI]: Status: Passed
    [16:00:32] Frame start async event received!
    [16:01:02] [RadarAPI]: Frame Ended
    [16:01:04] [RadarAPI]:
    [16:01:04] Start Record command : Success
    [16:01:04]
    [16:01:04] Record is completed
    [16:01:04]
    [16:01:04] Record stop is done successfully
    [16:01:04] Frame End async event received!
    [16:01:04] [RadarAPI]:
    [16:02:31] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 5000, 0, 0, 30)
    [16:02:31] [RadarAPI]: Status: Passed
    [16:02:32] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [16:02:32] [RadarAPI]: Status: Passed
    [16:02:34] Test Source Already Disabled...!!!
    [16:02:34] [RadarAPI]: ar1.DisableTestSource(0)
    [16:02:34] [RadarAPI]: Status: Passed
    [16:02:34] [RadarAPI]: ar1.FrameConfig(0, 0, 600, 8, 50, 0, 0, 1)
    [16:02:34] [RadarAPI]: Status: Passed
    [16:02:42] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [16:02:42] [RadarAPI]: Sending start_record command to DCA1000
    [16:02:44] [RadarAPI]: ar1.StartFrame()
    [16:02:44] [RadarAPI]: Status: Passed
    [16:02:45] Frame start async event received!
    [16:03:14] [RadarAPI]: Frame Ended
    [16:03:17] [RadarAPI]:
    [16:03:17] Start Record command : Success
    [16:03:17]
    [16:03:17] Record is completed
    [16:03:17]
    [16:03:17] Record stop is done successfully
    [16:03:17] Frame End async event received!
    [16:03:17] [RadarAPI]:
    [16:04:34] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [16:04:34] [RadarAPI]: Sending start_record command to DCA1000
    [16:04:39] [RadarAPI]: ar1.StartFrame()
    [16:04:39] [RadarAPI]: Status: Passed
    [16:04:39] Frame start async event received!
    [16:05:09] Frame End async event received!
    [16:05:09] [RadarAPI]: Frame Ended
    [16:05:11] [RadarAPI]:
    [16:05:11] [RadarAPI]:
    [16:05:11] Start Record command : Success
    [16:05:11]
    [16:05:11] Record is completed
    [16:05:11]
    [16:05:11] Record stop is done successfully
    [16:11:10] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [16:11:10] [RadarAPI]: Sending start_record command to DCA1000
    [16:11:13] [RadarAPI]: ar1.StartFrame()
    [16:11:13] [RadarAPI]: Status: Passed
    [16:11:13] Frame start async event received!
    [16:11:43] Frame End async event received!
    [16:11:43] [RadarAPI]: Frame Ended
    [16:11:45] [RadarAPI]:
    [16:11:45] [RadarAPI]:
    [16:11:45] Start Record command : Success
    [16:11:45]
    [16:11:45] Record is completed
    [16:11:45]
    [16:11:45] Record stop is done successfully
    [16:14:12] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [16:14:12] [RadarAPI]: Sending start_record command to DCA1000
    [16:14:15] [RadarAPI]: ar1.StartFrame()
    [16:14:15] [RadarAPI]: Status: Passed
    [16:14:15] Frame start async event received!
    [16:14:45] Frame End async event received!
    [16:14:45] [RadarAPI]: Frame Ended
    [16:14:47] [RadarAPI]:
    [16:14:47] [RadarAPI]:
    [16:14:47] Start Record command : Success
    [16:14:47]
    [16:14:47] Record is completed
    [16:14:47]
    [16:14:47] Record stop is done successfully
    [16:16:35] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\scsc1.bin", 1)
    [16:16:35] [RadarAPI]: Sending start_record command to DCA1000
    [16:16:42] [RadarAPI]: ar1.StartFrame()
    [16:16:43] [RadarAPI]: Status: Passed
    [16:16:43] Frame start async event received!
    [16:17:13] Frame End async event received!
    [16:17:13] [RadarAPI]: Frame Ended
    [16:17:15] [RadarAPI]:
    [16:17:15] Start Record command : Success
    [16:17:15]
    [16:17:15] Record is completed
    [16:17:15]
    [16:17:15] Record stop is done successfully
    [16:17:15] [RadarAPI]:
    [16:22:15] RstdNet: Port 2777: Client 127.0.0.1:63034 - Connected
    [16:22:16] Running script from MATLAB
    [16:22:16] [RadarAPI]: ar1.Disconnect()
    [16:22:16] [RadarAPI]: ar1.Calling_ATE_DisconnectTarget()
    [16:22:16] [RadarAPI]: ar1.Calling_IsConnected()
    [16:22:16] [RadarAPI]: ar1.SaveSettings('C:\Users\bu247\AppData\Roaming\RSTD\ar1gui.ini')
    [16:22:17] [RadarAPI]: Opening Board Control Port()
    [16:22:17] [RadarAPI]: Status: Passed
    [16:22:18] [RadarAPI]: ar1.FullReset()
    [16:22:18] [RadarAPI]: Status: Passed
    [16:22:19] [RadarAPI]: Closing Board Control Port()
    [16:22:19] [RadarAPI]: Status: Passed
    [16:22:20] [RadarAPI]: ar1.PowerOff()
    [16:22:20] [RadarAPI]: Status: Passed
    [16:22:21] [RadarAPI]: Opening Gpio Control Port()
    [16:22:21] [RadarAPI]: Status: Passed
    [16:22:21] [RadarAPI]: Opening Board Control Port()
    [16:22:21] [RadarAPI]: Status: Passed
    [16:22:22] [RadarAPI]: ar1.FullReset()
    [16:22:22] [RadarAPI]: Status: Passed
    [16:22:23] [RadarAPI]: Closing Board Control Port()
    [16:22:23] [RadarAPI]: Status: Passed
    [16:22:23] [RadarAPI]: Closing Gpio Control Port()
    [16:22:23] [RadarAPI]: Status: Passed
    [16:22:23] [RadarAPI]: ar1.SOPControl(2)
    [16:22:23] [RadarAPI]: Status: Passed
    [16:22:24] [RadarAPI]: ar1.Connect(11,921600,1000)
    [16:22:27] [RadarAPI]: Warning: Connected with baudrate 115200
    [16:22:28] [RadarAPI]: Warning: Disconnected existing BaudRate
    [16:22:28] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [16:22:29] [RadarAPI]: ar1.Calling_IsConnected()
    [16:22:31] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [16:22:31] [RadarAPI]: Status: Passed
    [16:22:31] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [16:22:31] [RadarAPI]: Status: Passed
    [16:22:31] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [16:22:32] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
    [16:22:32] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
    [16:22:32] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
    [16:22:32] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [16:22:33] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [16:22:35] [RadarAPI]: ar1.GetBSSFwVersion()
    [16:22:35] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [16:22:36] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [16:22:36] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [16:22:36] BSS FW Download Success
    [16:22:36] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [16:22:36] [RadarAPI]: Downloading MSS RPRC Binary..
    [16:22:38] [RadarAPI]: ar1.GetMSSFwVersion()
    [16:22:38] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [16:22:38] MSS FW Download Success
    [16:22:39] MSS power up done async event received!
    [16:22:39] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [16:22:39] [RadarAPI]: Status: Passed
    [16:22:39] Power On Success
    [16:22:39] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [16:22:39] [RadarAPI]: Status: Passed
    [16:22:39] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [16:22:39] [RadarAPI]: Status: Passed
    [16:22:40] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [16:22:40] [RadarAPI]: ar1.RfEnable()
    [16:22:40] BSS power up done async event received!
    [16:22:40] [RadarAPI]: Status: Passed
    [16:22:40] [RadarAPI]: ar1.GetMSSFwVersion()
    [16:22:40] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [16:22:41] [RadarAPI]: ar1.GetBSSFwVersion()
    [16:22:41] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [16:22:42] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [16:22:42] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [16:22:42] RF Enable Success
    [16:22:42] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
    [16:22:42] [RadarAPI]: Status: Passed
    [16:22:42] ChanNAdcConfig Success
    [16:22:42] [RadarAPI]: ar1.LPModConfig(0, 1)
    [16:22:42] [RadarAPI]: Status: Passed
    [16:22:42] LPModConfig Success
    [16:22:42] [RadarAPI]: ar1.RfInit()
    [16:22:42] RF Init async event received!
    [16:22:42] [RadarAPI]: Time stamp, Temperture: 2541,51; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 1, 1;
    [16:22:42] [RadarAPI]: Status: Passed
    [16:22:42] RfInit Success
    [16:22:43] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [16:22:43] [RadarAPI]: Status: Passed
    [16:22:43] DataPathConfig Success
    [16:22:44] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] LvdsClkConfig Success
    [16:22:44] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] LVDSLaneConfig Success
    [16:22:44] [RadarAPI]: ar1.ProfileConfig(0, 77, 6, 6, 56, 0, 0, 0, 0, 0, 0, 70.006, 0, 200, 5000, 0, 0, 30)
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] ProfileConfig Success
    [16:22:44] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] ChirpConfig Success
    [16:22:44] Test Source Already Disabled...!!!
    [16:22:44] [RadarAPI]: ar1.DisableTestSource(0)
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] [RadarAPI]: ar1.FrameConfig(0, 0, 600, 8, 50, 0, 0, 1)
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] FrameConfig Success
    [16:22:44] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [16:22:44] [RadarAPI]: Status: Passed
    [16:22:44] SelectCaptureDevice Success
    [16:22:45] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [16:22:45] [RadarAPI]: Sending fpga command to DCA1000
    [16:22:45] [RadarAPI]:
    [16:22:45] FPGA Configuration command : Success
    [16:22:45] [RadarAPI]: Sending fpga_version command to DCA1000
    [16:22:45] [RadarAPI]:
    [16:22:45]
    [16:22:45] FPGA Version : 2.9 [Record]
    [16:22:45]
    [16:22:45] CaptureCardConfig_EthInit Success
    [16:22:45] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [16:22:45] [RadarAPI]: Sending fpga command to DCA1000
    [16:22:46] [RadarAPI]:
    [16:22:46] FPGA Configuration command : Success
    [16:22:46] CaptureCardConfig_Mode Success
    [16:22:46] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [16:22:46] [RadarAPI]: Sending fpga command to DCA1000
    [16:22:46] [RadarAPI]:
    [16:22:46] FPGA Configuration command : Success
    [16:22:46] [RadarAPI]: Sending record command to DCA1000
    [16:22:46] [RadarAPI]:
    [16:22:46] Configure Record command : Success
    [16:22:46] CaptureCardConfig_PacketDelay Success
    [16:22:49] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\leeeeee0.bin", 1)
    [16:22:49] [RadarAPI]: Sending start_record command to DCA1000
    [16:22:49] [RadarAPI]: Status: Passed
    [16:22:50] [RadarAPI]: ar1.StartFrame()
    [16:22:51] [RadarAPI]: Status: Passed
    [16:22:51] Frame start async event received!
    [16:23:11] [RadarAPI]: Frame already triggered
    [16:23:11] [RadarAPI]: Error: 파일이 다른 프로세스에서 사용되고 있으므로 프로세스에서 파일에 액세스할 수 없습니다.
    [16:23:11] Trace:
    [16:23:11] 위치: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    [16:23:11] 위치: System.IO.__Error.WinIOError()
    [16:23:11] 위치: System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
    [16:23:11] 위치: AR1xController.ChirpConfigTab.GetNumOfFilesCaptured(String adc_file_path)
    [16:23:11] 위치: AR1xController.frmAR1Main.iStartMtlabPostProc()
    [16:23:21] [RadarAPI]: Frame Ended
    [16:23:21] Frame End async event received!
    [16:23:31] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\leeeeee0.bin")
    [16:23:31] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 600
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Additionally, here is the part where I am encountering the issue.

    It's a bit lengthy, but I appreciate your help.

    Best regards,

    Kim.

  • Hi Kim,

    Please refer to the configuration file format given in the document mmwave_sdk_03_06_00_00-LTS/docs/mmwave_sdk_user_guide.pdf. Make sure that the parameter value that you are modifying must come under the given range.

    Regards,

    Shruti

  • Hello Shruti,

    Thank you for your kind response. I have a few follow-up questions that I would appreciate your help with:

    1. As I mentioned earlier, I am modifying parameters using the DataCaptureDemo_xWR.lua file within MATLAB. However, when I tested it without using MATLAB and only with mmWave Studio, the parameters worked fine, and there were no issues. This makes me think that the problem might not be with the parameter range, but with something else that I am unaware of.

    2. I wasn't able to find the exact section in the SDK user guide that specifies the parameter ranges. Could you kindly point me to where that information is located?

    Thank you again for your assistance.

    Best regards,

    Kim.

  • Hi Kim,

    you can refer to the table given under section Configuration (.cfg) File Format in the user guide.

    Regards,

    Shruti

  • Hello Shruti,

    Thank you again for your kind response. As per your suggestion, I looked through the user guide, but I could only find examples and explanations, and I couldn’t locate specific information about the parameter ranges.

    As I mentioned earlier, there were no issues when I modified the parameters and used them within mmWave Studio. However, the problem only occurs when I use MATLAB. Could you kindly assist me further regarding the first question?

    Thank you once again for your help.

    Best regards,
    Kim

  • Hi Kim,

    attaching the screenshot. please configure the parameters as per the given range.

    Regards,

    Shruti

  • Hello Shruti,

    Thank you for your response. Regrettably, all the parameters I set are within the specified range, and there appears to be no issue with them. Although the problem has not been resolved yet, I am grateful for your efforts.

    Best regards,
    Kim

  • Hi Kim,

    Looks like the post processing has been started even before the capture is completed. I could see that the frame periodicity that you are using here is 50 and the number of frames is 600. 

    You have to modify the  RSTD.Sleep(5000) command in the lua scripts. Give the delay time more than the multiplication of number of frames and frame periodicity. here in your case try with 35000 sleep time.

    Hope this resolves your issue.

    Regards,

    Shruti 

  • Hello Shruti,

    Thank you for your detailed guidance. I truly appreciate all the help you’ve provided so far.

    Wishing you all the best in your endeavors.

    Thank you,
    Kim

  • Hi Kim,

    Good to know that your issue is resolved. Closing this thread here.

    Regards,

    Shruti