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.

IWR1642BOOST: How to read the .dat file generated by mmWave Demo Visualizer

Part Number: IWR1642BOOST
Other Parts Discussed in Thread: IWR1642, , IWR1443

Hello,

I am simply trying to view data from the mmWave Demo. So far I have identified two different methods of doing this (aside from buying a raw data capture board), and I have questions about both methods.

Method 1: Use a python parser to read the.dat file generated by the mmWave Demo Visualizer.

I downloaded a python parser from this related thread: e2e.ti.com/.../2681483 parser#2681483. However, I am not all that familiar with python and am having trouble using the parser correctly. Could someone explain how I can use the parser to view the data?

Method 2: Directly view the data coming through the Auxillary Data Port. 

Is there anyway to do this? Clearly there is data being sent from the IWR1642 to the PC, after which it is somehow accessed by the visualizer GUI to generate plots. I'd like to know where on the PC the data is being stored such that it can be utilized by the visualizer GUI? Is there a specific folder the data is always sent to, and how can one view it?

Of the two methods, I would prefer Method 2 since it does not necessitate pressing the "Record Start" button every time I want to see the data. I should note that I am using an IWR1642BOOST (ES2.0) and SDK version 2.00.00.04.  Any help on this issue would be much appreciated.

Regards,

Josh 

  • Hi Josh,

    Please look at the following thread which discusses the same topic:

    CCS/IWR1642: Recorded data from Visualisor

    I would also recommend looking at the beta version of the mmWaveDemoVisualizer shown below which allows you to record the Point cloud data in CSV format.

    Please mark this thread resolved if this answers your question otherwise get back if you have more questions on this topic.

    Thanks

    -Nitin

  • Josh,

    The thread referred above provides information about the format of the point cloud data coming on the UART port. Then point cloud format is defined in the mmWave SDK docygen documentation. Please note that the data is not stored on the PC unless you want to save it using the Record Start button on the Visualizer. The Visualizer processes the point cloud stream coming on the Data UART port in real-time i.e. without buffering it on the PC if that's what you are looking for.

    Further, you can download the source code for the Visualizer from dev.ti.com/gallery. Download the zip file and unzip it on your machine. Then look into the function process1 in file install_image_mmWave_Demo_Visualizer\mmWave_Demo_Visualizer\app\mmWave.js as shown below.

    -Nitin

  • Hi Nitin,

    Thank you for your reply. This gives me a much better idea of the data coming in.

    As to the beta version of the mmWave demo you mentioned in the previous post, I am having some trouble accessing it. Whenever I try to open the mmWave_Demo_Visualizer_Record_2.0.0 application on my desktop, it fails since it cannot locate the "launcher.exe" file. It seems like the package available for download is incomplete.  Just to be sure, I checked the folder of the normal demo visualizer mmWave_Demo_Visualizer_2.0.0 (which is working) and saw that a launcher.exe file for that application indeed exists. For whatever reason the mmWave_Demo_Visualizer_Record_2.0.0 application does not install in full as it is supposed to. Perhaps this is something that TI needs to fix? I understand this could all be solved by using the online version of the visualizer that you linked to, but that is not an option for me given my admin privilege (or lack thereof) on the PC I'm using. 

    Regards,
    Josh

  • Hi Nitin,

    Any update on this?

    Regards,
    Josh
  • Hi Josh,

    I downloaded and installed the offline version on my Windows 10 laptop and experienced the issue you reported. I will report this problem to the GUI Composer team (this seems to be a general problem with offline versions of TI GUI composer applications). In the meantime, I did find a workaround to get the offline version to work.

    Workaround: Instead of using the desktop shortcut to launch the application, I launched it using the startup batch file win32_start.bat provided in the application install directory (as given below from my machine), and it worked fine.

    C:\Users\<user_id>\guicomposer\runtime\gcruntime.v6\mmWave_Demo_Visualizer_Record\win32_start.bat

    Could you please try the above method (using the install path on your machine) and see if this works for you?

    Thanks for reporting the issue.

    Regards
    -Nitin
  • Hello,

     Nitin

    If the version of the demo visualizer (mmWavebeta) which output a CSV file applied to SDK 1.2.0.5?

    And if the mmWavebeta applied to IWR1443?

    Thank you for reply.

                       Sincerely

                         Yin

  • Hello,

    Nitin

    I have download the mmWave_Demo Visualizer Record  from the website that you posted.

    But there are no logStart button in the plot part.It just like this.

  • Hi
    Nitin,
    If I make some mistake in the installing steps?
    If there correct steps about how to buid the offline version of the demo visualizer?
    Hoping to receive your reply.
    Thank you.
    Sincerely
    Yin
  • Hello

    Nitin,

    I have trouble working with the demo visualizer.

    I click the website that you provide for the mmwavebeta. I can successfully reaching the cloud vesion of the demo visualizer which provide logstart button. But I can't use it to configure my IWR1443EVM. But I can use the offline vesion which is 2.1.0.3 to configre my EVM.

    I click the cloud version 2.0.0.0 (dev.ti.com/.../)Help->Download or Clone visualizer and it then jump to download the version2.1.0.3 

    .

    I download this and  it don't have the logstart button.

    The workaround you mentioned before I can't find the win_32.bat

    Could you tell me what I can do to download the mmWave_Demo_Visualizer_record?

    Hope to receive your reply!

                                                                         Sincerely

                                                                             Yin

  • Hi Yin,

    Looking at the images you provided, you seem to have downloaded the standard version of mmWaveDemoVisualizer which does not support CSV logging. As mentioned in my earlier responses on this thread, you need to use/download mmWaveDemoVisualizerBeta which is available under dev.ti.com/gallery. 

    Please make sure to navigate to the second screen (using the right arrow button) on dev.ti.com/gallery as shown below then download mmWave_Demo_Visualizer_Beta. The offline version of mmWave_Demo_Visualizer_Beta does support SDK 1.2 as well as the CSV Log function. Please also refer to the GUI Composer 2 User's Guide if you plan to import the Visualizer in GUI composer for development.

    Thanks

    -Nitin

     

  • Hello,
    Nitin, this do resolved my issue!
    Thank you very much!
    Sincerely
    Yin