Hi All.
In streamDevice protocol, how can I send something to a record when @replyTimeout gets triggered, in order to detect complete comms failure?
I've used exec and dbpf successfully e.g. something like
@replyTimeout {exec 'dbpf \$5 1'}
and that works, but I really don't like it that dbpf causes the IOCsh output to be cluttered up.
Is there some other way? None of the other commands available to streamDevice appear to be able to write to records, except the 'in' and that won't do anything if there are no comms sending stuff (I don't think).
Any way to get 'out' to write to a record instead of to the device? Or something I can 'exec' that affects a record but doesn't cause any IOCsh output?
Or is a different approach needed? Say something in the database that if a successful 'in' hasn't happened recently causes a 'comms error' to be set, rather than using streamDevice replyTimeout.
Thanks for your thoughts,
Terry