This is with ReadFreqVfoA_Result_Freq_Start_Pos=11 (Sorry for swe)
24/10/2022 06:57:50 - Cat command (HEX): FEFE04E003FD
24/10/2022 06:57:50 - Writing to com port
24/10/2022 06:57:50 - CAT cmd result: fee0040300501014fdfefe04e003fdfe
24/10/2022 06:57:50 - CAT result after echo stripping: fee0040300501014fdfe
24/10/2022 06:57:50 - Error: Unable to read frequency from CAT command: Indatasträngen hade ett felaktigt format.
vid System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
vid System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
vid System.Convert.ToInt64(String value)
vid VarAC.VarAC.FromBcd(String value, String endian)
vid VarAC.VarAC.convert_freq_from_read_cmd(String freq, String data_method, Single freq_hz_res)
vid VarAC.VarAC.<>c__DisplayClass539_0.b__0()
This is with ReadFreqVfoA_Result_Freq_Start_Pos=7
It behaves strange, for ex. if I am at 14.105.000, closes the program and starts it again, it miss reads the info received from the radio as 10.050.300 as it somehow gets wrong result, and changes the radio frequency to 10.050.300
24/10/2022 06:46:20 - Cat command (HEX): FEFE04E003FD
24/10/2022 06:46:20 - Writing to com port
24/10/2022 06:46:20 - Starting write_command_stream_log
24/10/2022 06:46:20 - Writing event to command stream log
24/10/2022 06:46:20 - End of write_command_stream_log
24/10/2022 06:46:20 - CAT cmd result: fee0040300501014fdfefe04e003fdfe
24/10/2022 06:46:20 - CAT result after echo stripping: fee0040300501014fdfe
24/10/2022 06:46:20 - Frequency converted value:10500003
24/10/2022 06:46:20 - CAT Read frequency: 03005010 10500003
24/10/2022 06:46:20 - Change combobox freq text to: 10.500.003
then via the drop box I change back to 14.105.00 it gets another result from the cat command
24/10/2022 06:46:24 - Cat command (HEX): FEFE04E003FD
24/10/2022 06:46:24 - Writing to com port
24/10/2022 06:46:24 - CAT cmd result: e0040300501014fdfefe04e003fdfefe
24/10/2022 06:46:24 - CAT result after echo stripping: e0040300501014fdfefe
24/10/2022 06:46:24 - Frequency converted value:14105000
24/10/2022 06:46:24 - CAT Read frequency: 00501014 14105000
24/10/2022 06:46:24 - Change combobox freq text to: 14.105.000
24/10/2022 06:46:26 - Cat command (HEX): FEFE04E003FD
24/10/2022 06:46:26 - Writing to com port
24/10/2022 06:46:26 - CAT cmd result: e0040300501014fdfefe04e003fdfefe
24/10/2022 06:46:26 - CAT result after echo stripping: e0040300501014fdfefe
24/10/2022 06:46:26 - Frequency converted value:14105000
24/10/2022 06:46:26 - CAT Read frequency: 00501014 14105000
24/10/2022 06:46:28 - Cat command (HEX): FEFE04E003FD
24/10/2022 06:46:28 - Writing to com port
24/10/2022 06:46:28 - CAT cmd result: e0040300501014fdfefe04e003fdfe
24/10/2022 06:46:28 - CAT result after echo stripping: e0040300501014fdfe
24/10/2022 06:46:30 - Changing frequency: user selection from dropdown menu.
24/10/2022 06:46:30 - Frequency converted value:00501014
24/10/2022 06:46:30 - Cat command (HEX): FEFE04E00601FD
24/10/2022 06:46:30 - Writing to com port
24/10/2022 06:46:30 - Cat command (HEX):
24/10/2022 06:46:30 - Writing to com port
24/10/2022 06:46:30 - CAT cmd result: fee004fbfd
24/10/2022 06:46:30 - Cat command (HEX): FEFE04E00500501014FD
24/10/2022 06:46:30 - Writing to com port
24/10/2022 06:46:30 - CAT cmd result: fefe04e00500501014fd
24/10/2022 06:46:30 - Change combobox freq text to: 14.105.000
24/10/2022 06:46:30 - Change combobox freq color
24/10/2022 06:46:31 - Change combobox freq color
24/10/2022 06:46:32 - Cat command (HEX): FEFE04E003FD
24/10/2022 06:46:32 - Writing to com port
24/10/2022 06:46:32 - CAT cmd result: fefee004fbfdfefe04e003fdfefe
24/10/2022 06:46:32 - CAT result after echo stripping: fefee004fbfdfefe
24/10/2022 06:46:32 - Change combobox freq color