UpdateStateWithRef (XNode Ability)

From LabVIEW Wiki
Jump to: navigation, search
UpdateStateWithRef (XNode Ability)
List of XNode Abilities
Public Name:UpdateState2

This ability VI is called to perform mutation on an older version of an XNode. If a more recent version of an XNode's library exists, it will be called and let you mutate the old XNode's state appropriately to ensure compatibility with the newer XNode. If you want to report a warning on load of a VI containing an xnode that has its state updated, you can use the reply "IssueWarning <Custom Load Warning goes here>". Note that most LV load warnings begin with "- ", so you will probably want to make yours conform to this standard. The load warning will only be issued if the state is successfully updated.

Default behavior: None.

This ability does not provide UI and OS messages are not handled.