![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||||
|
> you could make the black box IOC have a record instance named "blackBox:heartbeat" which cycles periodically between 0 and 1 [...] I suspect there's some way for the function to set a value (e.g. 0 for disconnected and 1 for connected) of one of the fields of the aSub record instance. That's exactly what I was doing in fact :-) But I thought that it wasn't very elegant and maybe someone had thought of a better way, i.e. not using the ping program from the host.
> [...] if your existing IOC loses communication with the black box IOC, the longin record instance's STAT and SEVR fields will go to some value other than NO_ALARM, and you can detect this with another record[...] Thanks for that. That's a good idea which I'll try straight away! Cheers David --- Dr. David Michel Address: 8 Viking Drive, Didcot, OX11 9RD, Oxfordshire Mobile: 0789 670 98 01 - Home: 0123 581 46 93 On 26 February 2014 15:55, J. Lewis Muir <[email protected]> wrote:
| ||||||||||||||||
ANJ, 17 Dec 2015 |
![]() · Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |