The pointer slide will show 10 channels on the chart and the array (latest readings) but I'm only able to code the legend to give the channel names. How do you code the legend to give the corresponding waveform color.
I only have Labview 6.1 so I am unable to view your example. I'm also not tooo sure of exactly what you are wanting. You want the colors to show up on the plot legend? What do you mean "to give the corresponding waveform color?"
I've converted the example to version 6.1 (although there may be some format problems). The slide switch allows 10 channels to be viewed at a time. The only thing that doesn't change when moving the slide switch is the color representing each channel. Viewing this VI should explain the difficulty.
I think what you are going to have to do is use three overlayed plots each with its own data. When you move the slider you make the chart you want to see visible and the other invisible. It takes a little bit of coding and a lot of alligning of controls but you can pull the illusion off.
Yes I think he might be right. Have you looked at the plot legend this way, in the example below? You can see that the legend DOES give the corresponding waveform color, its just that its not where you want it to be. You may need three different graph (with three different legends) and depending on which chart you need, change the visibility of the graph.
I dont think you can have different colors on the built-in plot legend. But sure, you could read the PLOT COLOR for each plot, then set the TEXT COLOR in each element of the array to the corresponding color.