LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform chart adding number of plots

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.

 

0 Kudos
Message 1 of 6
(4,409 Views)

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.

Alejandro C. | National Instruments
0 Kudos
Message 2 of 6
(4,378 Views)

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.

0 Kudos
Message 3 of 6
(4,367 Views)

Ok, in that case you might find these links interesting:

 

- Stacking Plots Dynamically in LabVIEW

- Stack an Arbitrary Number of Plots on a Chart

Alejandro C. | National Instruments
0 Kudos
Message 4 of 6
(4,349 Views)

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

0 Kudos
Message 5 of 6
(4,339 Views)

Stacking Plots Dynamically in LabVIEW - http://zone.ni.com/devzone/cda/epd/p/id/3024

Alejandro C. | National Instruments
0 Kudos
Message 6 of 6
(4,337 Views)