> I want to erase the chart history of a chart inside of a cluster.
> This seems apparently impossible to do
....
> Wire indexed reference from AllObjs[] to left 'reference'
> node of "to more specific class"
> Drage to diagram property node, under app control
> Wire output terminal of "to more specific class" to property node.
> Create property node from Waveform chart terminal that is not in
> cluster.
> Click and compare.
>
> These should be two property nodes that do the exact same thing, but
> they don't. You will notice you cannot access the history data of the
> chart in the cluster... Is this a LabVIEW quirk with clusters or is there a
> workaround to wipe the data?
The problem is that the property nodes aren't of exactly the same type.
To illust
rate this, popup on the chart's implicit property node and
choose Disconnect from Control. Note that the class name at the top
includes (strict) whereas the one created by casting to more specific
doesn't.
If you go to your chart and create a reference directly from it and wire
that reference to the middle terminal of the To More Specific, it will
contain the History data.
Here is why.
Some LV controls/indictors, like the Boolean, are always the same type.
Others like numerics and graphs/charts either adapt to type or allow
for selection of various datatypes. Properties that are common to these
are exposed as a nonstrict class, and if the value's datatype is
included, it is considered strict and is actually a unique class built
on the fly.
Greg McKaskle