Other Parts Discussed in Thread: IWR1443, DCA1000EVM
Hello
I am currently using IWR1443 with DCA1000evm to collect raw data from Ethernet port. I was trying to control mmwave studio by matlab script which originated from mmwave studio user guide. However, the file ``adc_data_Raw_0.bin`` that I obtained using lua script is different from the same binary file that I obtained through clicking buttons of mmwave studio manually. Here, I upload the snapshot and the lua script.
Fig.1 binary file that I obtained through clicking buttons of mmwave studio
Fig.2 binary file that I obtained using lua script
It can be seen that the file size in Fig.1 is about 64KB while the size in Fig.2 is 65KB.
Then error info appears if I run packetrecordzerofill.exe to adc_data_Raw_0.bin of Fig.2.
For binary file of Fig.1, packetrecordzerofill.exe works fine.
I would like to know if there is any mistake on my lua script.
Thank you.
Lua script
RSTD.Sleep(20)
RSTD.Sleep(20)
WriteToLog("BSS FW Download Success\n", "green")
RSTD.Sleep(20)
WriteToLog("MSS FW Download Success\n", "green")
RSTD.Sleep(20)
RSTD.Sleep(20)
WriteToLog("RF Enable Success\n", "green")
RSTD.Sleep(20)
WriteToLog("ChanNAdcConfig Success\n", "green")
WriteToLog("Regualar mode Cfg Success\n", "green")
RSTD.Sleep(20)
RSTD.Sleep(20)
RSTD.Sleep(20)
WriteToLog("LvdsClkConfig Success\n", "green")
RSTD.Sleep(20)
WriteToLog("LVDSLaneConfig Success\n", "green")
RSTD.Sleep(20)
WriteToLog("ProfileConfig Success\n", "green")
RSTD.Sleep(20)
WriteToLog("ChirpConfig Success\n", "green")
RSTD.Sleep(20)
WriteToLog("ChirpConfig Success\n", "green")
RSTD.Sleep(20)
WriteToLog("FrameConfig Success\n", "green")
RSTD.Sleep(20)
WriteToLog("SelectCaptureDevice Success\n", "green")
RSTD.Sleep(20)
ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
WriteToLog("CaptureCardConfig_EthInit Success\n", "green")
RSTD.Sleep(20)
WriteToLog("CaptureCardConfig_Mode Success\n", "green")
RSTD.Sleep(20)
RSTD.Sleep(20)
ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
--WriteToLog("ARM Start \n", "green")
RSTD.Sleep(20)
ar1.StartFrame()
--WriteToLog("Frame Start \n", "green")
RSTD.Sleep(2000)
ar1.CaptureCardConfig_StopRecord()
--WriteToLog("Frame Start \n", "green")
RSTD.Sleep(20)