Solution
The
Configuration File VIs, located in the
File I/O palette, are not designed to work with arrays and clusters. The
Read Key.vi and
Write Key.vi functions are polymorphic to only work with boolean, double, I32, U32, string and path data types.
You can read and write more complex data types by using the
Flatten To XML function located in the
Functions Palette by navigating to
Programming»String»Flatten/Unflatten String. You can pass any kind of data type into this function to convert it to an XML formatted string. Then, you can write the flattened XML string to the configuration file using the
Write Key.vi. Read the data from the configuration file using the
Read Key.vi and convert it back to an array or cluster using the
Unflatten From XML function.