On Mon, 16 Mar 2009, ÍôÆôʤ wrote:
I am using the hytec8401 and the correponding hy8401ip driver from
Diamond. The record can be follows:
record(ai,"AI")
{
field(DTYP,"Hy8401ip")
field(INP,"#20S0 @ MEAN=10)
}
Sometimes i want to change the samples to average. But i do not know how
to change this field without reboot the ioc? AI.INP looks like can not
be change in running. By the way i use edm.
I'm afraid you're right. There is no hook from record support to let the
driver know that the INP field has changed, so it's only parsed during
record initialisation. It's not very clear to me how to fix this.
To the list in general:
Is it possible for driver initialisation code to add callback requests
for extra PVs, or is there some other way to discover when a field not
directly supported by record support has changed?