epics-modules / mrfioc2

EPICS driver for Micro Research Finland event timing system devices
http://epics-modules.github.io/mrfioc2/
Other
8 stars 29 forks source link

Fixed the AcTrigMap and added more options to AcTrig Sync Source #155

Closed hongran closed 1 month ago

hongran commented 1 month ago

I found a bug in the code. When trig event source is selected as AC Trig, it didn't generate any events. I looked through the manual and found the address of the AcTrigMap, and found that the Mask and Shift are not correct. Macros AcTrigMap_EvtMASK and AcTrigMap_EvtSHIFT are corrected. After this fix, I added the feature to allow external synchronization sources for the AC trig, in another commit. After these changes, I tested them and they worked.

hongran commented 1 month ago

I saw the comment that multiple commits can be in PR, so I added the one for AcTric source. These are all I want to combine in this PR.