フィルターのクリア

reading messages over serial port

2 ビュー (過去 30 日間)
marleen_ade
marleen_ade 2020 年 3 月 12 日
コメント済み: Walter Roberson 2020 年 3 月 12 日
I have a matlab executable program running on a PC, where at the same time an application is running which monitors a UPS device feeding the PC. The communication between this app and the UPS device happens over a serial port. I wish to monitor this communication from within my matlab program to find out when battery mode is activated, so as to shut down all operations on the PC as well as the PC decently in that case. Since the port is already in use, it is not possible to open and configure it in the matlab program. How can I monitor nevertheless the communication?
I did download a separate tool which is capable of doing this. This allowed me to reverse engineer the messages and determine how the battery operation mode is signalled. Question now is how to do this in matlab? If possible of course. Anyone has done this before?
  1 件のコメント
Walter Roberson
Walter Roberson 2020 年 3 月 12 日
There just might be a way to use a .NET Assembly to do this, maybe. Not that I could name one at the moment.
I see that https://sourceforge.net/projects/realterm/ mentions having an ActiveX/COM interface for monitoring.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by