-
Notifications
You must be signed in to change notification settings - Fork 76
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
Warning messages from devAsynXXXArray in testAsynPortDriver #181
Comments
Thanks for following up. |
I believe I have identified the issue. The problem is that devAsynXXXArray::interruptCallback should be returning immediately if interruptAccept is not yet 1. It currently does this if a ring buffer is being used: asyn/asyn/devEpics/devAsynXXXArray.cpp Line 431 in f9d492e
But it needs to do this even if a ring buffer is not being used. This problem is not new in R4-44, it was also present in older versions when devAsynXXXArray.h was a giant C macro. |
I have fixed the problem. interruptCallback() now returns immediately if interruptAccept is 0. I have pushed the fix to the master branch. |
It works, wonderful. |
A problem is manifested in testAsynPortDriver if P_Run is set to 1 in the .cpp file.
The driver will print these messages right after iocInit:
Both of these observations suggest a problem in the initialization of devAsynXXXArray.cpp. That was completely re-written in asyn R4-44.
The text was updated successfully, but these errors were encountered: