Borrar filtros
Borrar filtros

reading messages over serial port

2 visualizaciones (últimos 30 días)
marleen_ade
marleen_ade el 12 de Mzo. de 2020
Comentada: Walter Roberson el 12 de Mzo. de 2020
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 comentario
Walter Roberson
Walter Roberson el 12 de Mzo. de 2020
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Instrument Control Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by