Hi all,
I am writing an areaDetector driver that reads integer time in multiples of fractions of ns.
ADCore: R3-11
asyn: R4-22
OS: ubuntu 20.04LTE
===============
record(ai, "$(P)$(R)ElapsedTime_RBV"){
field(DTYP, "asynFloat64")
field(INP, "@asyn($(PORT),$(ADDR),$(TIMEOUT))TPX3_ELAPSED_TIME")
field(SCAN, "I/O Intr")
}
In the driver the value is set using (hard coded value here):
setInteger64Param(ADTimePixStartTime, 1661466046253);
However, the PV value does not change from 0.
------------
PV is created:
createParam(ADTimePixStartTimeString, asynParamInt64, &ADTimePixStartTime);
==========
The caput changes the value of PV:
kgofron@myHP$ caput TPX3-TEST:cam1:StartTime_RBV 1661466046253
Old : TPX3-TEST:cam1:StartTime_RBV 0
New : TPX3-TEST:cam1:StartTime_RBV 1.66147e+12
=================
Any suggestions would be much appreciated.
Kazimierz
|