Other Parts Discussed in Thread: AWR1843
请问在mmwavestudio运行lua文件直接控制awr1843和DCA1000采数据时,因为需要采多次数据,每次有一定的时间间隔,要怎么才能将多次采的数据保存在一个bin文件里呢?
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.
请问在mmwavestudio运行lua文件直接控制awr1843和DCA1000采数据时,因为需要采多次数据,每次有一定的时间间隔,要怎么才能将多次采的数据保存在一个bin文件里呢?
你好,因为我现在是需要采集很多次数据,但是每次采数据生成bin文件的时间较久,导致整个采集过程的时间耗时太长,所以希望了解有没有多次采集最终只生成一个bin文件的方式。
或者请问有没有lua文件中,CaptureCardConfig_StartRecord和StartMatlabPostProc这两个函数的开源代码呢?
--ADC_Data file path
data_path = file_path.."..\\PostProc"
adc_data_path = data_path.."\\adc_data_440mm.bin"--bin文件
--Start Record ADC data
ar1.CaptureCardConfig_StartRecord(adc_data_path, 1)--产生adc_data_RAW_0.bin,由于以太网协议问题,可能会出现数据丢失等问题,还需要后处理
RSTD.Sleep(1000)
--Trigger frame
ar1.StartFrame()
RSTD.Sleep(20000)
--Post process the Capture RAW ADC data
ar1.StartMatlabPostProc(adc_data_path)--将adc_data_RAW_0.bin重排序和零填充,保存为adc_data.bin
WriteToLog("Please wait for a few seconds for matlab post processing .....!!!! \n", "green")
RSTD.Sleep(10000)