05-09-2023 01:55 PM
Hello,
Is there an easy to way to convert the Property Values and Property Name from the TDMS Get Properties VI into a cluster?
I know exactly how many elements and the names of the properties. I really just want any way to combine the name to the value and display it to the user.
My thought for this is to have a case structure that separates the Property Value Data Type (Double, String, I32, etc.) then inside each data type have a case structure for each property name that relates to that type. I would then unbundle a Cluster Constant and write the data. This seems really long and manual.
05-09-2023 02:17 PM
My Tremendous TDMS Toolkit can do this.
https://www.vipm.io/package/hooovahh_tremendous_tdms/
The start of that code was here:
It isn't human readable since it flattens the cluster into a single property (well two since the type is stored separately) but it can read and write without any issue.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord