Other Parts Discussed in Thread: IWR6843, AWR1642
Hello everyone,
I am trying to read the .dat file recorded by the mmWave Demo Visualizer. I am starting from the "mmwave_read_complete.m" Matlab script just modifying the number of tx antenna tx_num to 3. The script does not work so I suppose it is not thought for the IWR6843ISK-ODS. Anyway, I am trying to make it working based on these instructions, C:/ti/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr68xx/mmw/docs/doxygen/html/index.html – Section: Output information sent to host.
However, I have problems starting from the first lines. As an example, the first header information is the sdk version that in my case is “3.4.0.3” but the script shows: “7. .7.”
The script section for reading the header is:
function header=header_read(file) version=fread(file,2,'uint16'); version=num2str(version); version=[version(4) '.' version(3) '.' version(2) '.' version(1)]; total_package_length=fread(file,1,'uint'); platform=fread(file,1,'uint'); platform=dec2hex(platform); frame_num=fread(file,1,'uint'); CPU_time=fread(file,1,'uint'); object_num=fread(file,1,'uint'); data_structure_num_in_package=fread(file,1,'uint'); subframe=fread(file,1,'uint'); % this part is different from the document header={version;total_package_length;platform;frame_num;... CPU_time;object_num;data_structure_num_in_package};
Thanks in advance