Open cjalanis opened 5 years ago
When you run the Hierarchical Configuration Editor example, and you select Save or Save As... the XML generated has JSON content is saved as expected:
1.0.0 {"hierarchy structure":{"root":"5221C8D8-2C15-492C-BEA6-26A4714B1CDE","hierarchy":[{"current node":"5221C8D8-2C15-492C-BEA6-26A4714B1CDE","children":[]}]},"instance data":[{"ID":"5221C8D8-2C15-492C-BEA6-26A4714B1CDE","Alias":"cRIO configuration","class":"cRIO configuration.lvclass","version":"1.0.0","data":"<instanceID>5221C8D8-2C15-492C-BEA6-26A4714B1CDE</instanceID>\r\n<kvpairs>\r\n<SCFG_AliasName>cRIO configuration</SCFG_AliasName>\r\n<SCFG_ViewClass>cRIO node root.lvclass</SCFG_ViewClass>\r\n<sysname>cRIO</sysname>\r\n</kvpairs>"}]}
But, when the front panel is closed and selected to save changes, it saves an XML without any information
1.0.0 {"hierarchy structure":{"root":"","hierarchy":[]},"instance data":[]}
Added ReadTree to Close?, New?... case and solved the issue.
When you run the Hierarchical Configuration Editor example, and you select Save or Save As... the XML generated has JSON content is saved as expected:
But, when the front panel is closed and selected to save changes, it saves an XML without any information