IDataItem.SetError (METH)ΒΆ
METHOD SetError
Assigns an error situation to this item. Will set IDataItemBase.ErrorCode and IDataItemBase.Quality to ItemQuality.Bad
- InOut:
Scope
Name
Type
Comment
Input
errorCodeSysTypes.RTS_IEC_RESULTThe error code to assign.
Note
It is not possible to reset an error using ERR_OK