LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Turn off a single plot of a multiple plot waveform graph

I have a multiple plot waveform graph (4 plots). I want to turn off one of the plots, say plot 2. Is this posible from the graphs property node? The property node seems to only give a reference to plot 0. I am using labview 7.
Cheers,
Wayne
0 Kudos
Message 1 of 8
(5,223 Views)
I believe you can do this with a 2-segment property node. IN the first segment, select the "Active Plot" property, In the second segment, select the "Plot/visible" property.

Hope this helps.

Dave
0 Kudos
Message 2 of 8
(5,223 Views)
>
>I have a multiple plot waveform graph (4 plots). I want to turn off
>one of the plots, say plot 2. Is this posible from the graphs
>property node? The property node seems to only give a reference to
>plot 0. I am using labview 7.
>Cheers,
>Wayne
>
>
>
>
>
>

I would love to know if this is possible. I have been trying to figure it out
myself.
There is a way to turn a single array off and that is what I am doing for now
untill this is possible. The plot is still there but reads zero when tunred
off. It would be cool to have the abillty to turn off a single plot.
I have tryed all the property nodes with no luck. The answer may be in the
array size but I can't seem to control that either.
For now you can use wire all 4 channels using the comparison selec
t. Use a
constant of 0 And wire up a swtich. When the input is false the output is zero
in effect making the plot inactive but it still there.
0 Kudos
Message 3 of 8
(5,223 Views)
Hello Wayne. Using the property node is a right way to solve your
problem, but you have missed one thing. U are recieving reference to
plot 0 because this is the default one, in case u are using
multiplot. You should select element "active plot" from the property
node and then connect it to plot number u want to hide (for example
2). After it, select property "visible" and turn it off.

Alexander
Message 4 of 8
(5,223 Views)
I worked it out. Attached is example VI.
Cheers,

Wayne
0 Kudos
Message 5 of 8
(5,223 Views)
I think you can use "active plot" together with "plot.visible"
property node to control which one you'd like to display. By default,
the property node refers to plot 0, but you can change to plot 1 or
other plots by changing active plot property node. You can search
"Plot" in LabVIEW Help if you'd like to know details.

Good luck,
Jian

On 18 Feb 2004 03:28:49 GMT, computerman74@aol.com (Computerman74)
wrote:

>>
>>I have a multiple plot waveform graph (4 plots). I want to turn off
>>one of the plots, say plot 2. Is this posible from the graphs
>>property node? The property node seems to only give a reference to
>>plot 0. I am using labview 7.
>>Cheers,
>>Wayne
>>
>>
>>
>>
>>
>>
>
>I would love to know if this is possible. I have been trying to figure i
t out
>myself.
>There is a way to turn a single array off and that is what I am doing for now
>untill this is possible. The plot is still there but reads zero when tunred
>off. It would be cool to have the abillty to turn off a single plot.
>I have tryed all the property nodes with no luck. The answer may be in the
>array size but I can't seem to control that either.
>For now you can use wire all 4 channels using the comparison select. Use a
>constant of 0 And wire up a swtich. When the input is false the output is zero
>in effect making the plot inactive but it still there.
0 Kudos
Message 6 of 8
(5,223 Views)
Computerman74 wrote:
>>I have a multiple plot waveform graph (4 plots). I want to turn off
>>one of the plots, say plot 2. Is this posible from the graphs
>>property node? The property node seems to only give a reference to
>>plot 0. I am using labview 7.
>>Cheers,
>>Wayne
>>
>>
>>
>>
>>
>>
>
>
> I would love to know if this is possible. I have been trying to figure it out
> myself.
> There is a way to turn a single array off and that is what I am doing for now
> untill this is possible. The plot is still there but reads zero when tunred
> off. It would be cool to have the abillty to turn off a single plot.
> I have tryed all the property nodes with no luck. The answer may be in the
> array size but I can't seem to control that either.
> For now y
ou can use wire all 4 channels using the comparison select. Use a
> constant of 0 And wire up a swtich. When the input is false the output is zero
> in effect making the plot inactive but it still there.

If you have the plot legend visible you can set the color of plots to
transparent [T] at any time. No programming required!
0 Kudos
Message 7 of 8
(5,224 Views)
Hi Wayne,

Here is a link to an example vi that shows you how to do it. Basically, it uses the Active Plot property and transparent plot colors to "enable/disable" certain plots.

Hope this helps! Let me know if you have any other questions!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 8 of 8
(5,223 Views)