11-07-2012 10:07 PM
Thanks!
Jeff Zola
11-08-2012 12:34 AM
Lenthy question 🙂
1. LabVIEW will decide '# Plot' in the waveform chart based on the array size. Each row will deside single plot by default.
At run time, if you are changing the '# Rows or plots' LabVIEW will clear the chart and starts the new chart.
hints - 1. Do not change the number of plots, 2. Init the chart with maximum number of plots and 'NaN' constant, 3. Use 'History Data' property node when you are changing the number of plots.
2. There is no way to set the 'History data size' programatically. only option is manual.
3. You can configure the mimimum history lenth is '10'.
4. You can configure the points to be 'Transpose' before plotting. Based on this configuration, one point may go to single plot or multi plot.
Regards,
Yogesh Redemptor
11-08-2012 11:38 AM
@Yogesh_Redemptor wrote:
Lenthy question 🙂
1. LabVIEW will decide '# Plot' in the waveform chart based on the array size. Each row will deside single plot by default.
At run time, if you are changing the '# Rows or plots' LabVIEW will clear the chart and starts the new chart.
hints - 1. Do not change the number of plots, 2. Init the chart with maximum number of plots and 'NaN' constant, 3. Use 'History Data' property node when you are changing the number of plots.
2. There is no way to set the 'History data size' programatically. only option is manual.
3. You can configure the mimimum history lenth is '10'.
4. You can configure the points to be 'Transpose' before plotting. Based on this configuration, one point may go to single plot or multi plot.
Regards,
Yogesh Redemptor
Not a lengthy question. Just four non-lengthy ones hastily posted as I packed up my things to leave work for the night! 🙂
I am unable to open your file, as I am using LV2011.
In the example that I have been playing with (and have attached), I have created a graph that plots seven traces of random numbers. Seven happens to match my target application, corresponding to the number of rows in an 8X16 matrix switch minus one.....
I let LabVIEW create the input array for the history, and it always uses 9 elements, regardless of the number of plots enabled in the Properties. When I enable more than nine, it does not plot more than nine traces, however. That is evidently the maximum, although I have not been able to find documentation to support this conclusion. I have created a FOR loop that sets the number of plots desired to be visible, and the remaining ones to not be. Klunky, but it works.
Would anybody else desire the ability to programatically define the history length? I will submit this as a suggestion at some point.
Thanks for your help.
Jeff
11-08-2012 12:06 PM - edited 11-08-2012 12:07 PM
You did not set the cluster size of "array to cluster", default is 9. Right-click it and set it to 7.
11-08-2012 12:12 PM
Ah. You learn something every day!
But this, also, cannot be programatically set.
Note to self: Self-paced Core classes!
11-08-2012 12:35 PM
Clusters can only be resized at edit time. Converting from an array needs a size commitment at edit time :).
11-08-2012 12:38 PM
@altenbach wrote:
Clusters can only be resized at edit time. Converting from an array needs a size commitment at edit time :).
But I am AFRAID OF COMMITMENT!!!!!