It is a common use case to write measured data to a TDMS file, while
the configuration information for your test is stored in a cluster (and
that cluster might contain additional clusters, arrays etc). TDMS does not have
native support for clusters and some other data types.
This LAVA discussion thread
contains a VI library that breaks clusters of arbitrary complexity down
to their basic elements and writes their contents to TDMS properties
either at file, group or channel level. It also contains code that
reads your data back from TDMS and recreates the original cluster type.
Please review the whole thread in order to understand what to expect and to make sure you have the latest version.