03-11-2021 10:48 PM
I'm not sure how to use a Property Node to configure /change the plot line color as blue or red as determined by an input on the front panel. The line color should be configurable programmatically while the VI is running. When the program runs I only get 1 output on the chart and the line color is not able to be changed.
I'm new to the Labview world, please help.
03-12-2021 12:35 AM - edited 03-12-2021 12:36 AM
03-12-2021 12:43 AM
I can't open your VI, since I'm using LV2017.
But this code displays a running sine wave, which will change color each second.
In case there is more than one plot, you need to set the "ActivePlot", which you want to change. After, just set "Plot.Color".
03-12-2021 07:40 AM
The problem with your VI is that you only have one plot. But your outer while loop sets the active plot to 0, 1, 2, 3, ....., whatever i is that iteration. Guess what? On the 2nd iteration, you try setting the active plot to #1 which doesn't exist so you get an error. You only have plot #0.