Write Error Cluster Attribute VI

Owning Palette: Multiple Errors VIs

Requires: Base Development System

Updates the value of an attribute stored in an error cluster. If the specified attribute name is not found, this VI adds the attribute with the specified value to the error cluster.

For a single cluster that stores multiple errors, this VI updates only the first error.

 Add to the block diagram  Find on the palette
error in specifies an error cluster that you use to check for errors or warnings.
attribute name specifies the name of the attribute that you want to update.
JSON value specifies the value, in JSON format, to set for the attribute.
error out returns an error cluster with the value of the specified attribute updated or with the specified attribute added.
created? returns TRUE if the VI added the specified attribute and value to the error cluster. This output returns FALSE if the VI found the specified attribute name in the error cluster and updated the value.