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.

CCS/IWR1642: IWR1642 capture demo

Part Number: IWR1642

Tool/software: Code Composer Studio

Hi,

I'm using the mmwave demo visualizer SDK version 1.1 and I'm recording some data 

with the new data recording feature.

The file created by the tool is a *.dat file, like this one:

'xwr16xx_processed_stream_2017_12_07T08_13_45_662.dat'

In the next step, I'm trying to parse it using the capture_demo.m script file,

but I get the following error: 

Error using cat
Dimensions of matrices being concatenated are not consistent.

Error in cell2mat (line 83)
m{n} = cat(1,c{:,n});

Error in capture_demo (line 95)
data = cell2mat(cat(2, rawData{:}));

I got some tip that I need to first open the .dat file with CCS and then save it in some manner.

What is the method for open it in CCS and save it in the right format so the capture matlab file can read it?

 

Thanks,

Boaz

  • Hello Boaz,

    Did you modify the values in lines 62-77 of the script to match your profile configuration?

    Regards,

    Adrian
  • Hi Adrian,
    I did. I believe that the problem is that the *.dat file contains "rubbish' which first
    has to be modified by some other tool. If it's some kind of memory file then I believe that the CCS is
    the right tool, but I don't know how to load is and read it.
    Boaz
  • Hello Boaz,

    Yes, this file most likely contains extraneous data that is not normally present in data saved using the capture demo. The problem is that the capture_demo.m file is only designed to read data saved using the Capture Demo. Opening it in CCS will not help, the code needs to be modified to account for the format of the way the data is saved using the Demo Visualizer versus the Capture Demo.

    Does the data you are collecting need to be saved using the Demo Visualizer? If possible, the easiest option would be to use the Capture Demo instead.

    Regards,

    Adrian
  • Hi,
    So, what is the right way to parse the data collected
    in the demo visualizer using the new recording feature?
    I looked in the visualizer and the SDK documentation (including the doxygen) and didn't find any information.
    Regards,
    Boaz