WriteStatus()
- Last UpdatedJul 22, 2024
- 1 minute read
Returns the enumerated write status of the last write to the specified attribute.
Category
Miscellaneous
Syntax
Result = WriteStatus( Attribute );
Parameter
Attribute
The attribute for which you want to return write status.
Return value
The return statuses are:
-
MxStatusOk
-
MxStatusPending
-
MxStatusWarning
-
MxStatusCommunicationError
-
MxStatusConfigurationError
-
MxStatusOperationalError
-
MxStatusSecurityError
-
MxStatusSoftwareError
-
MxStatusOtherError
Remarks
If the attribute has never been written to, this function returns MxStatusOk. This function always returns MxStatusOk for attributes that do not support a calculated (non-Good) quality.
Example
WriteStatus(TIC101.SP);