-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use upstream event between EVRU and EVM #121
Comments
if it can help I apply the following configuration (with the naming back then)
If it works we can see directly counter A,C,D increasing (corresponding to event 13), if not only A,C Here I have plugged on the EVR a LEMO wire between FP0 and IN0. |
@agaget , I guess the issue is related to:
|
No I don't think, in the embedded EVRU if I "force low" "force high", the Univ 8. It triggers well the event 13. I think it's more a bug than a question. The same configuration works with a lower version of the driver. |
@agaget I haven't used this with our setups, but do you need to enable event forwarding on the EVM embedded EVRs? https://github.com/epics-modules/mrfioc2/blob/master/evrMrmApp/src/drvemSetup.cpp#L971 |
@agaget , remove the intermediate EVM and check if all the PVs are properly applied. |
Sorry the synoptic I've put here was jsut a copy/paste from one of my powerpoints, the real case is this one, I don't have intermediate EVM :
I'm not sure what you asking, but I will look into it |
I have this
But with the old version of the driver it works even if no events are marked as forwarded.
but still don't work. Note that if you want to test it quickly, with my pull request, you can use BPIn0 instead of In0 for the EVR. It should work the same without the wire |
Ok I've found where is the problem, I'm not sure why it is occuring. In the pulser of the embedded EVR the setWidth function doesn't work correctly and set the width to 0 whatever what we put. The clock of the embedded EVR is always 0, and so the width can't be computed correctly, if I comment the line and put my frequence manually, it works fine. mrfioc2/evrMrmApp/src/drvemPulser.cpp Line 117 in 9abc516
The line has been modified by @jerzyjamroz 3 month ago, but the old line doesn't work also anyway. I think the problem comes from elsewhere. The clk var indicates 0 even if I force the frequency through the PV Labo:titan-EVMU:LinkClk-SP |
@agaget , this line should prevent that scenario but it seems it is more complex. I will debug it soon. |
@agaget , you forgot to set: |
hmmm, ok. I've never defined it anywhere. It was working fine. But with the "modern" driver, in my MTCA EVR300U I don't defined it through this variable and it's ok anyway. In my MTCA EVR 300U, I have this
I don't know how it's possible. 88 is defined elsewhere for the link. I think there is a lack of feedback concerning this issue, the next one with this issue will have the same clue to solve it. |
@agaget , I will add your feedback to the .db files. |
FEVT macro improvement in evrbase.db to avoid misconfigurations.
It was working before, but now I didn't manage to make this work. I send a signal in the input of an EVR, and I would like to send an event to every other EVRs using upstream event and embedded EVRs. I configure everything correctly but it didn't work.
It works on this commit, it's from the old fork icshwi :
icshwi@15d003d
We were using a fork of this commit (adapted to our old environment)
The EVM and EVM-EVRU works fine, I can send events through EVG, I can simulate front edge detect by Univ8 with "Force High/Low".
The EVR Input works, because I can detect the event 213 on local
It means that the problem comes from EVR : the Upstream event that should send 13 upstream, or the pulse of the EVRU that should react to 13 but didn't.
I hope it's clear ...
I'm using 280b0207 right now, but just befor it was on 280e0207 and the same problem appears
The text was updated successfully, but these errors were encountered: