fanl0228 / xWR6843_dataCollection

Apache License 2.0
9 stars 0 forks source link

No record process is running. #2

Open aligharamohammadi opened 1 year ago

aligharamohammadi commented 1 year ago

I am using this code to collect raw radar data. There is no recorded data. After running the code, in "RadarData" folder, there is a log file called "raw_recoder_Raw_LogFile". Unfortunately, it is empty. The follwoing is python output.

D:\Users\agharamo\anaconda3\python.exe D:\xWR6843_DCA1000_GetData\DCA1000EVM_Recoder.py [2023-05-22 11:05:42.873] pid: 19520 Loging.py -> debug line:72 [DEBUG] : Reset AR Device command : Success

[2023-05-22 11:05:42.902] pid: 19520 Loging.py -> debug line:72 [DEBUG] : FPGA Configuration command : Success

[2023-05-22 11:05:42.933] pid: 19520 Loging.py -> debug line:72 [DEBUG] : Configure Record command : Success

[2023-05-22 11:05:42.956] pid: 19520 Loging.py -> debug line:72 [DEBUG] :

FPGA Version : 2.8 [Record]

[2023-05-22 11:05:42.976] pid: 19520 Loging.py -> debug line:72 [DEBUG] : Control CLI Version : 1.0

[2023-05-22 11:05:42.995] pid: 19520 Loging.py -> debug line:72 [DEBUG] : Control CLI Version : 1.0

[2023-05-22 11:05:45.522] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Carrier frequency GHz 60\r' [2023-05-22 11:05:46.034] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Ramp Slope MHz/us 166\r' [2023-05-22 11:05:46.544] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Num ADC Samples 256\r' [2023-05-22 11:05:47.059] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% ADC Sampling Rate Msps 12.5\r' [2023-05-22 11:05:47.563] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% ADC Collection Time us 20.48\r' [2023-05-22 11:05:48.070] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Extra ramp time required (start time) us 3\r' [2023-05-22 11:05:48.589] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Chirp time (end time - start time) us 21\r' [2023-05-22 11:05:49.107] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Chirp duration (end time) us 24\r' [2023-05-22 11:05:49.612] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Sweep BW (useful) MHz 3399.68\r' [2023-05-22 11:05:50.132] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Total BW MHz 3984\r' [2023-05-22 11:05:50.647] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Max beat freq (80% of ADC sampling rate) MHz 10\r' [2023-05-22 11:05:51.163] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Max distance (80%) m 9.04\r' [2023-05-22 11:05:51.680] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Range resolution m 0.044\r' [2023-05-22 11:05:52.196] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Range resolution (meter per 1D-FFT bin) m/bin 0.044\r' [2023-05-22 11:05:52.713] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% \r' [2023-05-22 11:05:53.224] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Inter-chirp duration us 7\r' [2023-05-22 11:05:53.741] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Number of chirp intervals in frame - 64\r' [2023-05-22 11:05:54.260] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Number of TX (TDM MIMO) 2\r' [2023-05-22 11:05:54.773] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Number of Tx elevation antennas 0\r20\r' [2023-05-22 11:05:55.286] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Number of RX channels - 4\r' [2023-05-22 11:05:55.798] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Max umambiguous relative velocity kmph 72.58\r20\r' [2023-05-22 11:05:56.314] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% mileph 45.36\r' [2023-05-22 11:05:56.827] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Max extended relative velocity kmph 145.16\r20\r' [2023-05-22 11:05:57.343] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% mileph 90.73\r' [2023-05-22 11:05:57.859] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Frame time (total) ms 1.984\r' [2023-05-22 11:05:58.375] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Frame time (active) ms 1.536\r20\r' [2023-05-22 11:05:58.889] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Range FFT size - 256\r' [2023-05-22 11:05:59.410] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Doppler FFT size - 32\r' [2023-05-22 11:05:59.928] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Radar data memory required KB 272\r' [2023-05-22 11:06:00.444] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Velocity resolution m/s 1.26\r' [2023-05-22 11:06:00.972] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Velocity resolution (m/s per 2D-FFT bin) m/s/bin 1.26\r' [2023-05-22 11:06:01.486] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Velocity Maximum m/s 20.16\r' [2023-05-22 11:06:01.999] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Extended Maximum Velocity m/s 40.32\r' [2023-05-22 11:06:02.512] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'% Maximum sweep accorss range bins range bin 0.91\r' [2023-05-22 11:06:03.039] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'%\r' [2023-05-22 11:06:03.550] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'sensorStop\r' [2023-05-22 11:06:04.062] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'flushCfg\r' [2023-05-22 11:06:04.574] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'dfeDataOutputMode 1\r' [2023-05-22 11:06:05.089] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'channelCfg 15 5 0\r' [2023-05-22 11:06:05.603] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'adcCfg 2 1\r' [2023-05-22 11:06:06.116] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'adcbufCfg -1 0 1 1 1\r' [2023-05-22 11:06:06.642] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'lowPower 0 0\r' [2023-05-22 11:06:07.159] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'profileCfg 0 60 7 3 24 0 0 166 1 256 12500 0 0 158\r' [2023-05-22 11:06:07.674] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'chirpCfg 0 0 0 0 0 0 0 1\r' [2023-05-22 11:06:08.187] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'chirpCfg 1 1 0 0 0 0 0 4\r' [2023-05-22 11:06:08.699] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'frameCfg 0 1 32 0 100 1 0\r' [2023-05-22 11:06:09.212] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'guiMonitor -1 1 1 1 0 0 1\r' [2023-05-22 11:06:09.726] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'cfarCfg -1 0 2 8 4 3 0 15.0 0\r' [2023-05-22 11:06:10.254] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'cfarCfg -1 1 0 4 2 3 1 15.0 0\r' [2023-05-22 11:06:10.773] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'multiObjBeamForming -1 1 0.5\r' [2023-05-22 11:06:11.280] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'calibDcRangeSig -1 0 -5 8 256\r' [2023-05-22 11:06:11.785] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'clutterRemoval -1 0\r20\r' [2023-05-22 11:06:12.303] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0\r' [2023-05-22 11:06:12.821] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'measureRangeBiasAndRxChanPhase 0 1. 0.2\r' [2023-05-22 11:06:13.336] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'aoaFovCfg -1 -90 90 -90 90\r20\r' [2023-05-22 11:06:13.847] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'cfarFovCfg -1 0 0.25 9.0\r20\r' [2023-05-22 11:06:14.374] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'cfarFovCfg -1 1 -20.16 20.16\r20\r' [2023-05-22 11:06:14.883] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'extendedMaxVelocity -1 0\r' [2023-05-22 11:06:15.397] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'CQRxSatMonitor 0 3 4 63 0\r' [2023-05-22 11:06:15.911] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'CQSigImgMonitor 0 127 4\r' [2023-05-22 11:06:16.427] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'analogMonitor 0 0\r' [2023-05-22 11:06:16.937] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'lvdsStreamCfg -1 0 1 0\r20\r' [2023-05-22 11:06:17.452] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'bpmCfg -1 0 0 0\r' [2023-05-22 11:06:17.968] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'calibData 0 0 0\r' [2023-05-22 11:06:18.480] pid: 19520 Loging.py -> debug line:72 [DEBUG] : b'sensorStart\r' [2023-05-22 11:06:21.496] pid: 19520 Loging.py -> debug line:72 [DEBUG] : [2023-05-22 11:06:23.518] pid: 19520 Loging.py -> debug line:72 [DEBUG] : [2023-05-22 11:06:55.685] pid: 19520 Loging.py -> debug line:72 [DEBUG] : Start Record command : Success

[2023-05-22 11:06:57.709] pid: 19520 Loging.py -> debug line:72 [DEBUG] : No record process is running.

[2023-05-22 11:06:57.709] pid: 19520 Loging.py -> debug line:72 [DEBUG] : sensor Start

Process finished with exit code 0

fanl0228 commented 11 months ago

You can troubleshoot the problem from the following points:

  1. Make sure the hardware xWR6843 is set to functional mode, and refer to 4.3 for details.
  2. Make sure your computer network firewall is turned off.
  3. Try using the new configuration file "xWR6843_dataCollection\IWR6843_PKG\configs\Demo_3Tx4RxMIMO.cfg".

Hope the above can help you.