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.

AWR1642: question about getting bin file from Raw_X.bin file

Part Number: AWR1642
Other Parts Discussed in Thread: MMWAVE-STUDIO

Now I am using AWR1642+DCA1000 to capture ADC Data.

mmwave studio can plot figures by postproc.

Before i press "postproc" button to get bin file as soon as capturing ADC data was finished( Raw_X.bin file).

One day, to save time,i just got several Raw_X.bin files, and tend to translate these raw_x.bin files to bin files when i go back to my office.

However, when i go back to my office, i found mmwave studio did not have this function.

is there any other way to translate raw_x.bin files to bin files?

  • Hi,
    When you click 'postproc' button GUI calls packetReorder tool to reorder the data of captured file to make it compatible for Matlab processing.
    ar1.PacketReorderZeroFill("<studio-path>\\PostProc\\adc_data_Raw_0.bin", "<studio-path>\\PostProc\\adc_data.bin", "<studio-path>\\PostProc\\pktlogfile.txt")

    This LUA command you need to call from mmWave-Studio LUA shell window which will convert Raw_X.bin to adc_data.bin.
    Same command you can see in the output window of mmWave-Studio when you click PostProc button.

    Regards,
    Jitendra
  •                                                                                                                          Fig1

    Thanks Jitendra, using your command i can convert Raw_X.bin to adc_data.bin now.

    But new problems come out.

    1/What's the max capturing time or the max file size for one time? I want a large capturing time for one time.

    I remamber in other threads or mmwave studio user guide or DCA1000 user guide says, maybe not clear: tsw1400 has a limited capturing time(a few seconds maybe), DCA1000 can save a max Raw_X.bin  of 3G with 3 files.

    2/ see fig1 above,

    when i config 2000 frames with 128chirps/254chirp and 30ms period per frame, the total capturing time is not 2000*30ms=60s, i am confused. Why not 60s?

    And when i config 3000 frames with 128chirps/254chirp and 30ms period per frame, mmwave studio will be crashed. Why?

  • Hi,
    Time limitation was for TSW1400 but with DCA1000 there is not capture time limit.
    DCA1000 will capture max of a 1GB file and then it'll split into next file, i.e. if you capture for long duration and size of captured file grow beyond 1GB then it'll get split in next file (raw_data_0, raw_data_1 ...).

    Total frame duration = frame_periodicity * no_of_frame. (30mSec * 1000 = 30sec) as per above snapshot. To get 60 sec, either (60mSec * 1000) or (30mSec * 2000) in the mmWave-Studio GUI frame-config setting.

    For any kind of crashing, I would request you to use mmWave-Studio v2.0. I have tried the same version at my end for same configuration and time for a successful capture.

    Regards,
    Jitendra
  • Thanks, Jitendra.
    I try your suggest again and i success this time.
    I donot know why last time mmwave studio crashed, becuase i follow the same steps in last time and this time. Any way, mmwave stuio works well now.
    Thanks again.