mz-automation / libiec61850

Official repository for libIEC61850, the open-source library for the IEC 61850 protocols
http://libiec61850.com/libiec61850
GNU General Public License v3.0
878 stars 468 forks source link

IedConnection_writeFloatValue returns IED_ERROR_ACCESS_DENIED? #450

Closed MaoniinoaM closed 1 year ago

MaoniinoaM commented 1 year ago

Hi, Libiec61850 team, I try test the python interface: theVal = "simpleIOGenericIO/GGIO1.AnIn1.mag.f" theValType = iec61850.IEC61850_FC_MX

err = iec61850.IedConnection_writeFloatValue(con, theVal, theValType, 25.0)

the err always returns IED_ERROR_ACCESS_DENIED. I'm confused what's wrong. Can you help give any hints?

nikunj1222 commented 1 year ago

theVal = "simpleIOGenericIO/GGIO1.AnIn1.mag.f" theValType = iec61850.IEC61850_FC_MX

The Val value or The ValType might not be matching.... This is a common mistake we generally make.

IED_ERROR_ACCESS_DENIED is due to invalid request or DO object path is not writeable...

MaoniinoaM commented 1 year ago

Thanks for the response.