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: Run PostProc function of mmWave Studio for stored raw data

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1642

Hello,

is there a way to execute/run the 'Post Proc' application of mmWave Studio for stored '.bin' files?

So far, I need to connect the AWR1642/DCA1000 and analyse the information from the captured data of that experiment, but I would like to know if there is a way to run the 'Post Proc' function, load one file into it and analyze the recorded information.

Regards

Alejandro Vidal

  • Hi Alejandro,

    Please refer this thread discussing the similar concern

    https://e2e.ti.com/support/sensors/f/1023/p/831497/3075628#3075628

    Regards,

    Jitendra

  • Hello,

    thank you for the reply.

    I tried the proposed solution, but the following error appears:

    [07:36:33] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    [07:36:33] [RadarAPI]: Error:
    [07:36:33]
    [07:36:33] ... MWMCR::EvaluateFunction error ...
    [07:36:33] Reference to non-existent field 'NumOfSubFrames'.
    [07:36:33] Error in => process_adc_data.m at line 76.
    [07:36:33]
    [07:36:33] ... Matlab M-code Stack Trace ...
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\prepare_frame.m, name prepare_subframes, line 167.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\prepare_frame.m, name prepare_frame, line 17.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\create_current_burst_config.m, name create_current_burst_config, line 5.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\populate_current_burst_constants.m, name populate_current_burst_constants, line 11.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 76.
    [07:36:33]
    [07:36:33]
    [07:36:33] Trace:
    [07:36:33] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
    [07:36:33] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
    [07:36:33] at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
    [07:36:33] at AR1xController.frmAR1Main.iStartMtlabPostProc()

    All the files from the last experiment are on the '/mmWaveStudio/PostProc' folder, and the 'PostProc' function works properly just after an experiment.

    Regards,

    Alejandro 

  • Hello,

    thank you for the reply.

    I tried the proposed solution, but the following error appears:

    [07:36:33] [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    [07:36:33] [RadarAPI]: Error:
    [07:36:33]
    [07:36:33] ... MWMCR::EvaluateFunction error ...
    [07:36:33] Reference to non-existent field 'NumOfSubFrames'.
    [07:36:33] Error in => process_adc_data.m at line 76.
    [07:36:33]
    [07:36:33] ... Matlab M-code Stack Trace ...
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\prepare_frame.m, name prepare_subframes, line 167.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\prepare_frame.m, name prepare_frame, line 17.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\create_current_burst_config.m, name create_current_burst_config, line 5.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\Processing_functions\populate_current_burst_constants.m, name populate_current_burst_constants, line 11.
    [07:36:33] at
    [07:36:33] file C:\Users\AV18984\AppData\Local\Temp\av18984\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 76.
    [07:36:33]
    [07:36:33]
    [07:36:33] Trace:
    [07:36:33] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
    [07:36:33] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
    [07:36:33] at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
    [07:36:33] at AR1xController.frmAR1Main.iStartMtlabPostProc()

    All the files from the last experiment are on the '/mmWaveStudio/PostProc' folder, and the 'PostProc' function works properly just after an experiment.

    Regards,

    Alejandro 

  • Hi Alejandro,

    Please take care of these points on top of above linked thread

    1. Use mmWave Studio v2.1 version to process the old captured ADC data.

    2. Open mmWave Studio GUI (runTime\mmWaveStudio.exe) then under SensorConfig TAB, click on PostProc button while ADC file path is blanked

    3. Based on above error, looks like logFile is not correct or its setting doesn't match with adc_data.bin

    4. make sure you save logfile (adc_data_logFile.txt) and adc_data.bin (or adc_data_Raw_0.bin) aside after your capture last session to avoid any mismatch.

    5. While capturing ADC data during last session from DCA1000, you need to click on PostProc button so it converts adc_data file (zero filling). This converted file needs to be used later for postProc (from above steps).

    Regards,

    Jitendra