Experimental Physics and
| |||||||||||||||
|
I am running into a problem with ASYN connection feedback I was wondering if anyone could help. Here's what I have set up:
Hardware: I have an IOC running on debian which communicates via ethernet to an Agilent E5801A LAN/GPIB Gateway which then communicates to several GPIB Power Supplies.
In st.cmd I set up asyn ports using and also reboot the gateway using
I then have databases running that do appropriate string formatting for GPIB commands and put them in the .AOUT field of an ASYN record configured as follows: � DTYP= asynRecordDevice
The communication works fine and the device responds as commanded. The problem I am running into is when I physically unplug the Ethernet cable between the gateway and IOC, I get read/write errors in the ERRS field when the record processes but it still says �Connect� in the .CNCT field.
With other devices using � drvAsynIPPortConfigure
The ASYN records .CNCT field changes when I unplug the Ethernet cable to Disconnect.
I tried setting up a drvAsynIPPortConfigure to talk with the gateway and to see if the connection is monitored that way, couldn't get that to work either. I don't think it ever establishes a valid communication link because it starts out as disconnect and I get timeout messages from traceError in the IOC shell.
I am wondering where I what to do next. Should I try creating device support for the devices connected to the gateway, would it even be possible through device support? Has anyone encounter this problem and came up with a solution? Any help is appreciated.
Thanks,
| ||||||||||||||
ANJ, 31 Jan 2014 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |