03-22-2021 04:27 AM
Hallo,
is there a way to use xinclude in LabVIEW? (at best offline too) I am trying for a while now and couldn't find a solution. The Purpose is to seperate different topics within a xml file into different xml files. The xml file I am creating is used as an configuration file for a system, but the file would be to big as a single file to still have a overview. For an example, we have around 80 channels, and those chanels have each around 400 lines for configuration. And having that done, no hardware, not the system itself aso. would have been configured. Having a configuration file with around 30,000 lines is just a pain.
many thanks for any help
03-22-2021 09:10 AM - edited 03-22-2021 09:13 AM
Use a hierarchical configuration. The top level would point to file paths for each channel configuration.
Yes, now you have 80 files! You should consider why you would ever need 30k parameters. I'm not saying that you don't but, .... that does have a GOD OBJECT code stench I can notice from here.