09-18-2017 07:16 AM - edited 09-18-2017 07:20 AM
I have my main VI completed. What I want to do now is create different config files for the different things it can test. I've tried looking around for help, but haven't had much luck. I found an old topic talking about using Configuration File VIs. The other option I found was using OpenG to do it. Just wondering what the best way to do it now is. Thanks.
09-18-2017 07:34 AM
Configuration files still is a valid option to load settings for eg. a test. Other options that come to my mind include XML, databases, csv-files etc. etc. - choose what you like or what best fits your requirements.
Regards, Jens
09-18-2017 07:58 AM
As was already stated, it depends on your requirements. Personally, I like to use tab delimited text files for most of my configurable test configurations. These also tend to be sweeps of some sort.
09-18-2017 08:09 AM
The configuration files works well, but requires a lot of hand-on to get to work. XML is really simple to use though somewhat clunky if you need to look/change it manually. If you want max performance and the clusters and stuff is fixed, as it's a sensitive version, then binary files are good.
/Y
09-18-2017 09:27 AM - edited 09-18-2017 09:57 AM
Thanks for your inputs. I decided to go with the configuration VIs, as it makes the actual configuration file very simple to read. I have one more question related to this. How can you create a control to a partial file path? I'd like to be able to open to a folder that contains the different config files. I tried making a test folder and linking to that, but it gave me an incorrect file type error. Never mind found an option in the preferences that allowed my to change the path and have it open the folder.