StreamDevice provides ‘@init’ exception handlers for performing actions at IOC startup time. This works fine as long as the target device is up and running at that time. If the device is not readable at that time these exception handlers don’t have the desired effect. Would it be possible to provide a ‘@reconnect’ handler that would be invoked when the ASYN port made the transition from disconnected to connected?
I don’t think that this would allow initialization of output record values since AFAIK that’s possible only at record initialization time, but would at least allow for initialization command sequences to be sent to the device to get it into some desired operating mode.