Experimental Physics and
| |||||||||||||||||
|
>Depending on what platform your IOC is running, you could potentially >execute the platform's ping program from your C function. This would >allow you to ping without running your IOC as root. That's exactly what I was doing. On Linux (Ubuntu). > if you can make a small change to your black box, is >to run a simple server on your black box that listens on a TCP or UDP >port. You could then use asyn or StreamDevice on your IOC to send a >tiny request to that server. Yes, that could be an option - Similarly, I was thinking I could perhaps run an "dummy" IOC with a "dummy" record that is queried from the other IOC. This way, I can use the builtin PVExistTest routine that will notify the IOC and my OPI rather quickly and without much development effort.
What I'm not sure of with this approach is how to turn the "disconnected" information into say a bi record with 1 for connected and 0 for disconnected ??
David
--- Dr. David Michel Address: 8 Viking Drive, Didcot, OX11 9RD, Oxfordshire Mobile: 0789 670 98 01 - Home: 0123 581 46 93 On 25 February 2014 17:03, J. Lewis Muir <[email protected]> wrote:
| ||||||||||||||||
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |