Closed hackerboygn closed 7 years ago
Hello
The trouble is that LinkedList.device type is void, so you have to convert it explicitly to char (like it is done in C with the cast). This can be done with the toCharP function that has already been implemented (there is an example in the README.md of pyiec61850 directory).
Cedric
@cedricboudinet I used the old version(http://libiec61850.com/libiec61850/wp-content/uploads/2016/11/libiec61850-1.0.0.tgz) without these features, now I found out in the git repository.
Thanks again!
I want find the LD name in python like this:
But 'device.data' is a SWIG void obj, so result is: `<Swig Object of type 'void ' at 0x........>`
I don't know how convert it in python, just modify the 'iec61850.i':
then I try again like this:
It's work, but I don't think is good way, does anyone have a better idea?