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.
您好!
我 想使用 IWR1642和 DCA1000 CLI 来捕获所需的帧数。
但是、当我设置"CaptureStopMode":帧时、它显示错误"Record stopping using number of frames is valid only in raw mode. [错误-4064]"
我附加了我的 json 文件配置
{ "DCA1000Config": { "dataLoggingMode": "raw", "dataTransferMode": "LVDSCapture", "dataCaptureMode": "ethernetStream", "lvdsMode": 2, "dataFormatMode": 3, "packetDelay_us": 25, "ethernetConfig": { "DCA1000IPAddress": "192.168.33.180", "DCA1000ConfigPort": 4096, "DCA1000DataPort": 4098 }, "ethernetConfigUpdate": { "systemIPAddress": "192.168.33.30", "DCA1000IPAddress": "192.168.33.180", "DCA1000MACAddress": "12.34.56.78.90.12", "DCA1000ConfigPort": 4096, "DCA1000DataPort": 4098 }, "captureConfig": { "fileBasePath": ".\\data\\", "filePrefix": "adc_data", "maxRecFileSize_MB": 1024, "sequenceNumberEnable": 1, "captureStopMode": "frames", "bytesToCapture": 0, "durationToCapture_ms": 0, "framesToCapture": 10 }, "dataFormatConfig": { "MSBToggle": 0, "laneFmtMap": 0, "reorderEnable": 1, "dataPortConfig": [ { "portIdx": 0, "dataType": "complex" }, { "portIdx": 1, "dataType": "complex" }, { "portIdx": 2, "dataType": "complex" }, { "portIdx": 3, "dataType": "complex" }, { "portIdx": 4, "dataType": "complex" } ] } } }
"CaptureStopMode":是否支持帧? 如果没有、是否有任何方法可以使用 DCA1000 CLI 来捕获所需的帧数?
我可以使用 "CaptureStopMode"成功捕获数据:无限。
另一个快速问题是、对于捕获的 bin 文件、它的格式是什么? 它是否与 mmWave Studio 中的 adc_data_Raw_0.bin (未处理、包含序列号信息等)或 adc_data.bin (已处理)格式类似?
非常感谢您的帮助!
最棒的
暂停
您好、Hang、
[引用 userid="438572" URL"~/support/sensors-group/sensors/f/sensors-forum 1059461/dca1000evm-capture-capture-desired-number of-frames-with-iwr1642boost-and-dca1000-cli]"CaptureStopMode" :是否支持帧? 如果没有、是否有任何方法可以使用 DCA1000 CLI 捕获所需的帧数?[/QUERP]是的、这是可能的。 请参阅"TI_DCA1000EVM_CLI_Software_UserGuide.pdf" 以了解用于捕获无限或有限帧的所有可编程选项。 您可以在以下位置找到此文档: \mmwave_studio_ mmWaveStudio\ReferenceCode\DCA1000\Docs
有关其他问题,请参阅以下文件以了解有关原始 ADC 数据格式的详细信息: 毫米波雷达器件 ADC 原始数据采集(修订版 B)(TI.com)
希望这能帮助您快速入门。
此致、
石田
Ishita、您好!
感谢你的答复。 是的、我已经阅读了 pdf 和 make "captureStopMode":无限次工作
我当前的问题是 "CaptureStopMode":帧不起作用。
当我在终端中运行"DCA1000EVM_CLI_Record.exe start_record cf.json adc_0"时、它始终向我显示以下错误。
使用帧数停止记录仅在 RAW 模式下有效。 [错误-4064]
您可以看到、在 json 文件中、我已将模式设置为 RAW。 我不知道为什么会发生这种情况?
谢谢!
最棒的
暂停
您好、Hang、
很抱歉、我在您的帖子中未提及此错误。 这不应该发生。 请给我一些时间来分析此错误、我将在下周初再次与您讨论此错误。
希望这可以。
此致、
石田
Ishita、您好!
非常感谢!
最棒的
暂停
Ishita、您好!
在我的测试中、我无法通过设置"captureStopMode":"frames"来收集*。json 文件中预定义的帧数。
我多次尝试和错误。 能否帮助我确认 "CaptureStopMode":"frames"是否受支持?
我还可以通过使用 mmWave Studio CLI 工具 https://dev.ti.com/tirex/explore/node?node=AK3GYIhDPkgp.R8qt-gVUg__Z2F8GEn__LATEST 来实现该目的。
但是、如果可能、我仍然希望使第一种方法起作用。 因为这两种原始数据捕获方法使用不同的 cfg 文件。
感谢您的帮助!
暂停
您好、Hang、
我希望您不会因为这个问题而被阻止、因为您正在交替使用 Studio CLI。
但是、让我们在 结束时选中此 captureStopMode 选项、并在本周之前更新您。
此致、
Jitendra
Jitendra、您好!
感谢您查看此内容。 是的、您建议我在此线程中使用 Studio CLI。
我可以收集原始数据。 但是、我遇到了一些错误。 您能给我一些提示、说明这些错误与什么相关以及如何修复它们吗?
##########################################################################################################################
calc_rel_offset_and_file_name 中存在错误(第4行)
在调用"calc_rel_offset_and_file_name"期间未分配输出参数"adc_file_name"(可能还有其他参数)。
READ_ADC_DATA_READ_ADC_DATA_16xx 中出现错误(第537行)
READ_ADC_DATA 中的错误(第27行)
update_frame_slider 中出错(第17行)
Play 中的错误_FLOW_CURRENT_POT_R更高 版本(第55行)
评估<uicontrol>回调时出错
##########################################################################################################################
我在这里的控制台连接了整个打印件。
Configuring mmWave Sensor Device over UART... dfeDataOutputMode 1 Done channelCfg 15 3 0 Done adcCfg 2 1 Done adcbufCfg -1 0 1 1 1 Done profileCfg 0 77 7 7 58 0 0 68 1 256 5500 0 0 30 Done chirpCfg 0 0 0 0 0 0 0 1 Done chirpCfg 1 1 0 0 0 0 0 2 Done frameCfg 0 1 32 100 100 1 0 Done lowPower 0 1 Done lvdsStreamCfg -1 0 1 0 Done calibMonCfg 1 1 Done monCalibReportCfg 1 1 0 Done txPowerMonCfg 1 0 0 Done txPowerMonCfg 1 1 0 Done txBallbreakMonCfg 1 0 Done txBallbreakMonCfg 1 1 Done rxGainPhaseMonCfg 1 0 Done tempMonCfg 1 20 Done synthFreqMonCfg 1 0 Done pllConVoltMonCfg 1 Done dualClkCompMonCfg 1 Done rxIfStageMonCfg 1 0 Done extAnaSigMonCfg 0 Done pmClkSigMonCfg 1 0 Done rxIntAnaSigMonCfg 1 0 Done gpadcSigMonCfg 1 Done sensorStart DCA1000 Capture Triggered Done mmWave Config Done! DCA1000 Capture is done! Post processing the captured data... ..\mmw_post_proc\mmwave_postproc.exe C:\Users\cuiha\Desktop\studio_cli\gui\captured_adc_IWR1642 C:\Users\cuiha\Desktop\studio_cli\src\profiles\profile_monitor_xwr16xx.cfg C:\Users\cuiha\Desktop\studio_cli\gui\captured_adc_IWR1642\adc_data_Raw_0.bin AWR1642All warnings have the state 'off'. GuiState = x_axis_types: {1x3 cell} x_axis_type_idx: 2 x_axis_type: 'phy' time_domain_yaxis_types: {1x2 cell} time_domain_yaxis_type_idx: 1 time_domain_yaxis_type: 'codes' time_domain_xaxis_types: {1x3 cell} time_domain_xaxis_type_idx: 1 time_domain_xaxis_type: 'time' non_coherent_integration_option: 0 non_coherent_integration_across_chirps: 0 non_coherent_integration_across_chirps_and_antennas: 0 take_rms: 1 compensate_for_windowing_option: 1 chirp_picture_options: 2 time_domain_auto_scale_options: 1 mimo_mode: 0 bpm_mode: 0 perform_interference_cancellation: 0 interference_threshold: -53 interference_cancellation_window_indx: 1 overlay_detected_points: 0 seperate_real_imag: 0 oversampling_ratio_log2: 0 window_optionidx: 2 detection_options: [1x1 struct] allow_time_domain_non_coherent_integration: 0 IsPostProcGuiActive: 0 IsOptionsGuiActive: 0 PlayAsMovie: 0 PlayAsMovie_Actual: 0 PlayAsMovie_SlowMovies: 0 are_samples_to_be_removed: 0 num_samples_to_drop: 0 enable_hold_on: 0 numRepeat: 0 frameslider: [1x1 struct] subframeslider: [1x1 struct] burstloopslider: [1x1 struct] burstslider: [1x1 struct] chirpTypeslider: [1x1 struct] chirpslider: [1x1 struct] NumberOfPlotsOnDisplayArr: [1 2 4 9] NumberOfPlotsOnDisplayIndx: 3 NumberOfPlotsOnDisplay: 4 h_subplot_option: [1 4 6 7 6 7 6 7 6] h_subplot_channel_select: [1 1 2 3 3 4 4 5 5] h_subplot_device_select: [1 1 1 1 1 1 1 1 1] TI_image: [1x1 struct] subplot_location: {1x4 cell} subplot: [1x1 struct] subplot_max_dimensions: [2x2 double] slider: [1x1 struct] List_of_options: {1x30 cell} not_perchannel_graph: [1x13 double] not_common_graph: [1x15 double] List_of_options_channel_select: {1x5 cell} List_of_options_device_select: {1x4 cell} List_of_options_channel_select_string: 'Common|Chan 1|Ch...' List_of_options_device_select_string: 'Dev 1' List_of_options_string: '<html><b>Basic P...' ui_data_selection_location: {1x4 cell} ui_channel_selection_location: {1x4 cell} play_button: [1x1 struct] option_button: [1x1 struct] table: [1x1 struct] remove_dc: 0 Show_image_band: 1 MultiProfileProcessingOption: 1 version: 4.9200 force_cont_stream_mode: 0 process_measure_APIs: 0 movie_play_back_options: [1x1 struct] movie_record_options: [1x1 struct] main_figure_id: [1x1 Figure] menu_handle_load_log_file: [1x1 Menu] menu_handle_load_bin_file: [1x1 Menu] menu_handle_calibrate: [1x1 Menu] menu_handle_microdoppler: [1x1 Menu] ui_device_selection_location: {1x4 cell} Error in calc_rel_offset_and_file_name (line 4) Output argument "adc_file_name" (and maybe others) not assigned during call to "calc_rel_offset_and_file_name". Error in read_adc_data_read_adc_data_16xx (line 537) Error in read_adc_data (line 27) Error in update_frame_slider (line 17) Error in play_from_current_point_onwards (line 55) Error while evaluating UIControl Callback
非常感谢!
最棒的
暂停
您好、Hang、
由于假日季、响应可能会延迟至1月22日3日。
感谢您的耐心和理解。
此致、
Jitendra