11-11-2025 02:11 AM
Dear Colleagues,
I am developing a sequencer software that controls instruments. Users can add "commands" from a list, arrange them sequentially, and configure their parameters. These parameters are in clusters, and once a row is completed, it is saved to a file using the "Flatten to XML" block.
My issue is that when I add new parameter options to the user interface, the newer version of the software is unable to open configuration files created with older versions.
My goal is to populate the new cluster with data from the old cluster, and assign default values to any new parameters.
11-11-2025 03:00 AM - edited 11-11-2025 03:06 AM
11-11-2025 04:03 AM
Andrey's answer is excellent, as always. One other variant is to have a Version-tag in the file so you know which variant of the cluster you need to use, or simply loop through versions from the newest to the oldest to see which works.
Or you can try my "General Cluster to ini-file" that i attach. I just changed it to only give a warning if a tag is missing.
(saved in LV2019)