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

errorCode

SysTypes.RTS_IEC_RESULT

The error code to assign.

Note

It is not possible to reset an error using ERR_OK