How to listen to a serial port status

4 visualizaciones (últimos 30 días)
Stéphane
Stéphane el 18 de Feb. de 2016
Dear all,
In a GUI associated to a class I've created, I've got a serial communication object. I would like to add a listener to its status "open/close" so that it can be reflected into the GUI by a "connected/disconnected" display. I manage to listen to properities of my own class, but it doesn't seem possible to listen to the property of the serial port (in my class, it would be addlistener(obj,'SerialComm.Status','PostSet',@callback).
Is there a way to do that ?
Thanks a lot
Stephane

Respuestas (0)

Categorías

Más información sobre App Building 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