The various instances of the polymoprhic XML Close VI all have standard error in functionality. In other words, they run normally only if no error occurred before they run. That can lead to references not getting closed if errors occur in sections of code that execute earlier.
Instead, the XML Close VI instances should run normally even if an error occurred before they run. When calling the XML Close VI, it is a nuisance to have to clear the error passed in to it and then merge the previous error with the error output from the VI.
In addition, most of the other Close functions and VIs in LabVIEW run normally even if an error occurred before they run (Close File, UDP Close, VISA Close, Close Reference, DataSocket Close, etc.).
There may be other VIs and functions that have the same behavior as the current XML Close VI and they should be changed as well. Examples include TDMS Close, Close Zip File VI, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moved to CAR Database - CARs are listed here: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/XML-Close-Reference-VIs-should-not-have-standard-error...