Main Content

stopRecording

Stop recording of raw ADC data from TI mmWave radar using DCA1000EVM

Since R2024b

Description

stopRecording(iqDataSource) stops recording of raw ADC data from TI mmWave radar using a DCA1000EVM after you start the recording using the startRecording function. Calling the stopRecording function overrides the RecordDuration property of dca1000 object and stops the recording immediately.

Examples

Stop Recording of Raw ADC Data from DCA1000EVM connected to TI mmWave radar sensor

Create the dca1000 object to establish communication between host computer and DCA1000EVM, which is connected to a TI IWR6843ISK mmWave radar. The physical connections from the host computer include the Ethernet connection to DCA1000EVM and serial port (COM port) connection to TI IWR6843ISK.

boardName = "IWR6843ISK";
iqDataSource = dca1000(boardName);

Before starting the recording, set the duration to record the data as inf so that the recording can continue till you call the stopRecording function.

iqDataSource.RecordDuration = inf;

Start the recording of real-time ADC data into binary files.

startRecording(iqDataSource);

The number of binary files and the file name of each file depends on MaxFileSize and RecordFilePrefix properties specified while creating the dca1000 object.

After you obtain the required data, stop the recording.

stopRecording(iqDataSource)

Input Arguments

collapse all

dca1000 object with the default or specified properties.

Version History

Introduced in R2024b