epics-extensions / ca-gateway

Channel Access PV Gateway
http://www.aps.anl.gov/epics/extensions/gateway/
Other
17 stars 17 forks source link

Gateway diags #45

Closed bhill-slac closed 2 years ago

bhill-slac commented 2 years ago

None of these commits are essential, but I think they help. For example, if you enable DEBUG_GDD, you can follow the gdd dumps via grep and see which ones have valid timestamps:

% egrep dumpdd: j_test7.out  | head
dumpdd:1  ioc:fillingwaveform.NORD at=16[value] pt=0[aitInvalid], sec=0 nsec=0 gateVcData::read dd(incoming)
dumpdd:1  ioc:fillingwaveform.NORD at=21[attributes] pt=12[aitContainer], sec=0 nsec=0 gateVcData::setPvData dd (new property data)
dumpdd:20 ioc:fillingwaveform.NORD at=16[value] pt=9[aitFloat64], sec=1021226851 nsec=32659257 gatePvData::eventCB
dumpdd:1  ioc:fillingwaveform.NORD at=16[value] pt=9[aitFloat64], sec=1021226851 nsec=32659257 gateVcData::setEventData (new value data)
dumpdd:4  ioc:fillingwaveform.NORD at=16[value] pt=9[aitFloat64], sec=1021226851 nsec=32659257 gateVcData::setEventData event_data(after)
dumpdd:1  ioc:fillingwaveform.NORD at=16[value] pt=0[aitInvalid], sec=0 nsec=0 gateVcData::flushAsyncReadQueue asyncr->DD()(before)
dumpdd:1  ioc:fillingwaveform.NORD at=16[value] pt=0[aitInvalid], sec=0 nsec=0 gateVcData::copyState dd(incoming)
dumpdd:2  ioc:fillingwaveform.NORD at=21[attributes] pt=12[aitContainer], sec=0 nsec=0 gateVcData::copyState pv_data
dumpdd:3  ioc:fillingwaveform.NORD at=16[value] pt=0[aitInvalid], sec=0 nsec=0 gateVcData::copyState dd(after pv_data)
dumpdd:4  ioc:fillingwaveform.NORD at=16[value] pt=9[aitFloat64], sec=1021226851 nsec=32659257 gateVcData::copyState event_data