Dear All,
I am running into a hanging issue while performing scans using higher level software due to a WRITE INVALID caused by lower-level EPICS PVs. The occurrence is intermittent. From what I can find on line this *could* be due to how SCAN filed is setup in this database for the relevant PVs. I am not entirely sure if that could be the case. Any help would be appreciated.
--The specific error I see in the IOC shell is the following. This is for one of the PVs.
2018/12/28 17:46:07.974527 SSH1 XF:07BMA-OP{MC:03}TrajInitPlc-Read: asynError in write: 10.7.130.93 write error
--And camonitor returned the following.
XF:07BMA-OP{MC:03}TrajInitPlc-Read 2018-12-28 17:46:07.974595 0 WRITE INVALID
--The PV is defined as follows.
record(ai, "$(P){$(DEV)}TrajInitPlc-Read")
{
field(DTYP, "stream")
field(INP, "@ppmac_stream.proto getVarInt(Plc[15].Running) $(SSH)")
field(SCAN, "0.5 second")
}
-- getVarInt is defined as follows
getVarInt{
out "\$1";
in "\n\$1=%d";
}
-- Port configuration is as follows
drvAsynPowerPMACPortConfigure("SSH1", "10.7.130.93", "root", "deltatau", "0", "0", "0")
Thank you,
Chanaka De Silva
NSLSII