Main Content

isRecording

Check status of recording of raw ADC data (IQ data)

Since R2024b

Description

recordStatus = isRecording(iqDataSource) checks the current status of recording of raw ADC data from a DCA1000EVM (which is connected to a TI mmWave radar) after you start the recording using the startRecording function, and returns a logical value. The function returns true if the recording is in progress, and returns false if the recording has stopped.

Examples

Monitor the Status of 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);

Start recording real-time ADC data into binary files, and get the status of the recording to block further commands in MATLAB till the recording is completed. In this case, the duration of recording is defined by the RecordDuration property of dca1000 object.

startRecording(iqDataSource)
% Wait till recording is complete
while (isRecording(iqDataSource))
end

Input Arguments

collapse all

dca1000 object with the default or specified properties.

Output Arguments

collapse all

Status of recording the raw ADC data from DCA1000EVM. recordStatus is true if the recording is in progress, and it is false if the recording has stopped.

Data Types: logical

Version History

Introduced in R2024b