Other Parts Discussed in Thread: IWR1443BOOST,
Hello,
I am using IWR1443BOOST with DCA1000EVM and mmWave Studio in order to record and analyze radar data. Based on the script DataCaptureDemo_xWR.lua, I started to increase the number of frames. The recording takes more time and the default code, which just waits for a given time, does not work anymore:
--Start Record ADC data ar1.CaptureCardConfig_StartRecord(adc_data_path, 1) RSTD.Sleep(1000) --Trigger frame ar1.StartFrame() RSTD.Sleep(2000)
I could just increase the number in the RSTD.Sleep command.
However from the Output window I can that there is some event at the end of the recording.
[13:42:50] [RadarAPI]: ar1.StartFrame() [13:42:50] [RadarAPI]: Status: Passed [13:42:50] Frame start async event received! [13:42:58] [RadarAPI]: Frame Ended [13:42:58] Frame End async event received! [13:43:00] [RadarAPI]: STS_RECORD_COMPLETED Async event recieved(8) [13:43:00] [RadarAPI]: ar1.CaptureCardConfig_StopRecord() [13:43:00] [RadarAPI]: Status: Passed [13:43:00] [RadarAPI]: RECORD_STOP_CMD_CODE Async event recieved(6)
How can I wait for the 'Frame End async event' instead of just waiting a fixed amount of time?
Best regards,
Matthias