フィルターのクリア

Serial Communication Terminator using the new configureTerminator

8 ビュー (過去 30 日間)
Jason
Jason 2020 年 1 月 10 日
コメント済み: Giulio 2024 年 6 月 11 日
Hello, before 2019b, the method to open serial ports with "serial" allowed the terminator to be set to nothing i.e. ''.
set(s,'Terminator,'')
However, with the new recommended serialport and the associated configureTerminator method, it appears not possible to leave out the terminator.
configureTerminator(s,'')
This comes up with an error as the value can only be CR, LR CR/LF or any ascii code.
Does this mean its not possible to have "No" terminators?
Thanks
Jason
  4 件のコメント
Jason Ha
Jason Ha 2024 年 4 月 16 日
Hopefully we can get some insight on this sometime.
Giulio
Giulio 2024 年 6 月 11 日
Have you found the solution to the error: "Unrecognized function or variable 'configureTerminator'." ?
I am getting the same error but I cannot understand how to get rid of it.
Thanks

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by