Problem with serialport communication
古いコメントを表示
Hello,
I have the following problem with the serialport command. My goal is to connect a device - in my case a water cooling system - with Matlab to communicate and later on to create a GUI. To communicate I have used the serialport command . The creation of the serialport object was fine, but the problem ist that I only can send one command (in ASCII code) with the writeline command. This first command gets executed correctly and I can read the answer from the device. But when I send another command to the device it will not get executed anymore and reading the answer is also not possible. In a terminal program- in my case hTerm - everything works fine. The settings for my serialport object are:
I'm not sure what the last six properties are in detail and from the documentaion side I dont really get in to it to be honest. I guess something is wrong with the settings of these properties. Do you have any suggestions what the cause of my problem is?Thanks in advance
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Serial and USB Communication についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!