libiec61850
libiec61850 copied to clipboard
Example callback using Python bindings
We're looking for the best way of defining callbacks, using Python. We've managed to make it work with the callback function defined in the source language (C), using a director in SWIG. But not with a callback defined in the target language (Python), which would be our goal. Added the fact our knowledge of SWIG being limited, providing a complete example for a single Python callback would be of huge help for us. The callback being in the target language (ideally, if at all possible), or at least in the source language, so that we could compare with what we've already done. Best regards,
Hi,
I recently proposed a callback example (RCB subscription) in a PR. Please, take a look at this conversation: https://github.com/mz-automation/libiec61850/issues/424