Other Parts Discussed in Thread: IWR1642BOOST, IWR1642
Hi,
I'm using the IWR1642BOOST (ES1.0) together with DCA1000EVM. I want to increase the number of frames recorded, so I change line 168 in the DataCaptureDemo_xWR.lua script from ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1) to ar1.FrameConfig(0, 0, 80, 128, 40, 0, 1), but then I get an error message
[14:55:48] Packet reorder utility processing done.....!!!!
[14:55:48] Please wait for a few seconds for matlab post processing .....!!!!
[14:55:48] [RadarAPI]: ar1.StartMatlabPostProc("E:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[14:55:48] [RadarAPI]: Error:
[14:55:48]
[14:55:48] ... MWMCR::EvaluateFunction error ...
[14:55:48] 02-Nov-2018 14:55:48: The file E:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
[14:55:48] Error in => process_adc_data.m at line 52.
[14:55:48]
[14:55:48] ... Matlab M-code Stack Trace ...
[14:55:48] at
[14:55:48] file E:\temp\install\tsn\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[14:55:48] at
[14:55:48] file E:\temp\install\tsn\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.
[14:55:48] at
[14:55:48] file E:\temp\install\tsn\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.
[14:55:48]
[14:55:48]
[14:55:48] Trace:
[14:55:48] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[14:55:48] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[14:55:48] at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
[14:55:48] at AR1xController.frmAR1Main.iStartMtlabPostProc()
[14:55:58]
[14:55:58] ***Script completed successfully.***
If I change the number of frames from 80 back to 8 again, the recording works as intended. There is a similar thread on this: https://e2e.ti.com/support/sensors/f/1023/t/697731?DCA1000EVM-Modifying-frame-number-in-DataCaptureDemo-xWR-LUA-script-based-on-quick-start-guide-instructions