AnsweredAssumed Answered

Implementing a Read Timeout in MQXIO driver

Question asked by Robert Lewis on Jan 22, 2013
Latest reply on Jun 20, 2016 by DaveTonyCook



We are using the rs485 serial driver. We do a read and it all works correctly but I want to create a timeout in the driver should the device hang or fail to respond. This is a normal function in most (non MQX) drivers. Does anyone know of anyway to implement a timeout in the read portion of the driver? I realize we could hack the driver and pass a timeout value, but this seems a bit unprofessional, and further on for other releases unsupported. Or is there another way apart from a timeout you could recommend?