libiec61850 icon indicating copy to clipboard operation
libiec61850 copied to clipboard

Example callback using Python bindings

Open rochjp opened this issue 3 years ago • 1 comments

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,

rochjp avatar Apr 28 '21 16:04 rochjp

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

mbourhis avatar Jan 25 '23 16:01 mbourhis