One of the challenging parts of making a reliable system, at least for me, is handling power outages and unexpected system restarts. One of the many things that causes problems is that sometimes a serial port needs to be reset (closed and reopened) in order to reestablish communication with the device.
I can't see an obvious way to reset a serial port from a script driver. I thought about clearing and then setting the Network property, but this seems like a rather indirect way of closing and reopening the serial port. Does anyone know how to do this, or have some good ideas?
Regards,
Frank
I can't see an obvious way to reset a serial port from a script driver. I thought about clearing and then setting the Network property, but this seems like a rather indirect way of closing and reopening the serial port. Does anyone know how to do this, or have some good ideas?
Regards,
Frank