Other Parts Discussed in Thread: UNIFLASH
Hello Team,
I collect some of the data through DCA1000 by using CLI command Interfance. Then for the parser I used parser example scripts available at the SDK folder. But I got some error when I parse the bin file. Below are the steps and figures.
1) First profile_2d was provided to mmwave demo visualizer.
2) Then cli command was run which stored bin file.
3) Then I open the lvds_example script provided the above cfg file and prefix as shown below.
4) but here I got some errors. the error changes as I change the parameters in lvdsStreamcfg.
> When LvdsStreamcfg -1 0 0 0 the error is:
Traceback (most recent call last):
File "d:\Radar Labs\Parser Scripts\LVDS\lvds_example_script.py", line 90, in <module>
noise_buffer = parser_file(config_file_name, numFramesToBePrint, datacard_prefix)
File "d:\Radar Labs\Parser Scripts\LVDS\parser_lvds_demo_captured_file.py", line 1228, in parser_file
read_config (config_file_name)
File "d:\Radar Labs\Parser Scripts\LVDS\parser_lvds_demo_captured_file.py", line 685, in read_config
print ("Error: Subframe %d has a invalid lvdsStreamCfg" % subframeIdx)
UnboundLocalError: local variable 'subframeIdx' referenced before assignment
> When LvdsStreamcfg -1 1 0 0 the error is:
Error: subframe 0 has no HW and SW
Check []
it gives me output but CSV file is empty.
> When LvdsStreamcfg -1 1 1 0 the error is:
Traceback (most recent call last):
File "d:\Radar Labs\Parser Scripts\LVDS\lvds_example_script.py", line 90, in <module>
noise_buffer = parser_file(config_file_name, numFramesToBePrint, datacard_prefix)
File "d:\Radar Labs\Parser Scripts\LVDS\parser_lvds_demo_captured_file.py", line 1264, in parser_file
HW_result, HW_ADC_buffer, HW_CP_buffer, HW_CQ1_buffer, HW_CQ2_buffer = parser_HW_file(capturedFileName, ADC_file_numSubframes, ADC_file_subframeIdx_buf)
File "d:\Radar Labs\Parser Scripts\LVDS\parser_lvds_demo_captured_file.py", line 847, in parser_HW_file
if '16' in CFG_PARAMS['platfrom'] or '18' in CFG_PARAMS['platfrom'] or '68' in CFG_PARAMS['platfrom'] or '64' in CFG_PARAMS['platfrom']:
KeyError: 'platfrom'
> When LvdsStreamcfg -1 1 1 1 the error is: Again the same error as above for -1 1 1 0 or -1 0 1 0.
Please do let me know so I can share more details if you want regarding this.
Thank you,
Fahad