Closed polodroid74 closed 1 year ago
Hi @polodroid74 , thanks for reaching out, we'll get back to you when we had time to look in to this.
A quick look in the code, the id is expected to be stepped.
It's important to create only one AxEventHandler
and reuse it throughout the program, see for example subscribe_to_events. The same should go for declaring events.
Could this be it?
Yes this is it. Thanks a lot !
Issue description
When trying to declare multiple events, calls to ax_event_handler_declare() always returns the same declaration id. Here is a code snippet to illustrate where the problem occurs :
System setup