Overview:
This VI will save all your VI's control values to a file by converting them to an XML string.
Description:
The VI will also load these values into the VI's controls.
Requirements:
Steps to Implement or Execute Code:
Additional Information or References:

"**This document has been updated to meet the current required format for the NI Code Exchange.**"
NI社区“代码范例交流区”(Example Code Exchange)中的代码范例已获得MIT许可。
I just tested the VI but I notice that it doesn't work ;( It goes bad when the loaded xml string needs to be flattend by the "xml flatten vi" it says
Error 1106 occured at Unflatten From XML in Save or Read Control Values To and From a file.vi
Possible reason(s): LabVIEW: The XML tag describing the type of data does not match the wired type.
You know a solution?
Looks like there is a bug in LabVIEW 2009 that does not allow Variants to faletten to XML. I modified the code to make it work. Try the new download. Not as clean, but does the trick.
Late to the party, but this helps a lot, thanks!