LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add plot areas?

Hi Rolf,
Thank you for your reply!
It seems that graph doesn't have the choice of "stack plots", right? About circular buffer, if there are a lot of points needed to display, is it possible that the size of the buffer too big?

Best regards,
George
0 Kudos
Message 11 of 14
(686 Views)
George Lee wrote:

> Hi Rolf,
> Thank you for your reply!
> It seems that graph doesn't have the choice of "stack plots", right?

Yes! Stack plots is limited in what it can doe anyhow. That is why I
used 1, 4, or 9 graphs arranged accordingly instead.

> About circular buffer, if there are a lot of points needed to display,
> is it possible that the size of the buffer too big?

Yes of course but then it would be to big for the charts as well.
Storing data does take memory independant if it is stored internally in
a LabVIEW object/control or explicitedly in a functional global VI.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 12 of 14
(686 Views)
Greg, I tried this "dynamically loaded panel" idea. I tried to use the VI application control functions to access a non-running VI which would display the data. It works great as a display, but, just like the case of trying to effect this change in a running VI, it is impossible to change the chart "Legend: Plots Shown" property remotely. The waveform chart type is not returned in the controls references for the VI. Only the generic ctrl reference is passed. When I tried to make the reference more specific, the property write operation failed. The reference from the "To More Specific Class" function was invalid. If there is no way to access the Waveform Chart properties remotely, and if the properties are unavailable during execut
ion, should those properties rightly have the characteristic of being writable? There is no way to effect the desired change in the Waveform Chart through access to this property. This looks like a bug.
jc
Mac 10.4
LV7.1
CLD
Download All
0 Kudos
Message 13 of 14
(863 Views)
> I don't understand how to use "subPanels or dynamically loaded panels
> that are edited using the legend properties when idle and then shown
> to the user". Can you tell me more what kind of legend properties can
> be used to control the display number of the plot areas in stack
> plots?
>

After looking into it, you can change a stacked chart's plot areas by
setting the Legend>>Plots Shown. One snag is that you will have to do
this to your VI while it is idle since it is really a pretty major edit.
So, you can do this by dynamically loading and calling the VI. When
you want to change the number of plot areas, you will need to exit the
dynamically called VI, modify it, and rerun it. You can do this pretty
seamlessly,
and if you use a subPanel control, it can even be a part of
the panel and UI.

The snag I didn't expect was to find that it works for clusters, but not
for 2D arrays.

Greg McKaskle
0 Kudos
Message 14 of 14
(863 Views)