> I've seen National Instrument's demo - Two Channel Osciloscope.
> In this demo, they've used a case structure associated with what
> channels to view (A, B or A&B).
> However, I have 6 channels, on the same graph, and this method seems a
> bit to awkward. I've tried accesing the channles using an attribute
> node and then changing the color of the plot to the background color
> so it won't show. This too sounds a bit strange, plus I could only
> access the first plot.
> Does anybody know of a better way to do it?
>
Instead of setting the color to the background, you probably want to
set it to Transparent. This effectively hides the plot since nothing
will be drawn. To choose which plot to set, use the Active Plot
property. You will typically do this in a loop.
Make the top property
the Active Plot, grow the attribute node down and read or write the plot
properties below that. The graph will update at the end of each loop
iteration.
Greg McKaskle