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.


icon

Inputs/Outputs

  • cerrcodeclst.png error in

    error in specifies an error cluster that you use to check for errors or warnings.

  • cstr.png attribute name

    attribute name specifies the name of the attribute that you want to update.

  • cstr.png JSON value

    JSON value specifies the value, in JSON format, to set for the attribute.

  • ierrcodeclst.png error out

    error out returns an error cluster with the value of the specified attribute updated or with the specified attribute added.

  • ibool.png created?

    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.