01-11-2012 11:13 PM
hello all.
I would like to be able to programatically change the stack plots of a waveform chart.
for example user selects from 1 to 6 different graphs to be plotted on a stack plot format and i would like the waveform chart to automatically show the user selection.
(1 chart the whole space of the waveform chart desined for that particular, 2 half space and so on)
i had an idea of using a case structure with the different number of charts and based on that initialized an array of closters one cluster per plot, but no joy becasue it seems that the chart complains if i wire a different array size to the property node value before first wiring to the actual indicator.
also i sometimes need to right click and switch between overlay and back to stack to see some change (see the different stacks plots show on the graph)
finally i have been looking for a property to change from stack plot to overlay plot.
thanks for any help.
01-13-2012 10:37 AM
Hi there, why not simply send all waveforms into a single graph and select which ones you want to display? Something like the example attach.
01-13-2012 04:38 PM
alejandro:
1. i need to have stack plot view (because i need to se data at real time iam using the chart variant)
2. the vi you provided is not in stack plot mode, and even the example LV provides does not give you stack plot mode it dumps every signal on 1 plot.
3. based on my constrains here is what iam trying to attempt again:
i would like right after the user chooses how many graph (channels) will be monitoring that my waveform chart automatically deletes or adds Y-axis until the total remaining Y-axis on a stack plot visualization is equal to the number to graphs to monitos.
again any help is more than welcome.
01-16-2012 01:22 PM
Ok, in that case you might find these links interesting:
- Stacking Plots Dynamically in LabVIEW
- Stack an Arbitrary Number of Plots on a Chart
01-16-2012 02:01 PM
the first link gives an error.
i show it on the attached picture.
the second link was interesting.
if you dont mind i would like to take a look at the first link.
thanks
01-16-2012 02:04 PM
Stacking Plots Dynamically in LabVIEW - http://zone.ni.com/devzone/cda/epd/p/id/3024