User | Kudos |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
We all use clusters and arrays of clusters to represent complex data. With LabVIEW, it is practical to build a cluster to represent the data in memory and shape it to display it on the front panel. Using the same object (control or indicator) to display the data on a graphical user interface and to store the data in memory avoids overloading the memory and simplifies the code.
But most of the time, all the data don't need to be shown on the front panel! Some elements need to be hidden. If we use a probe to check the content of such a data structure for debugging purpose, LabVIEW just shows the control as it is supposed to be displayed on the FP. The hidden elements are not visible!
Here is an example of a probe put on one of my data structure (array of clusters) :
And here is the equivalent representation in a tree view. On the first column, the labels. On the second column, the values.
What is your prefered representation?
PS : Such a tree view representation can "easily" be obtained from a control reference or from an XML string (with the Flatten to XML VI). Nevertheless, the Flatten to XML VI returns an error when it encounters strings with accentuation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.