LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I manipulate Plot Color of Diagram in a Array of Clusters?

Hi,
 
I have a problem with plot color of a xy graph? If I change the color with property node at a simple stand alone graph, everythink is fine. But if this graph is in a array of cluster I that the plot color is change but set back immediately. Do somebody know this problem and can help me?
 
 
Download All
0 Kudos
Message 1 of 5
(3,173 Views)
Hi HaseDD!

I can't find that there is a knowen issue with the Plot coulours! Please post me a verry siple VI that I can reproduce the failture.

Which Verson of LabVIEW are you using?

Best Regards
Tobias Lange
0 Kudos
Message 2 of 5
(3,122 Views)
Hi Hase,

please attach some sample vis.
Hint: You don't need those sequence structures - dataflow using wires is sufficient here!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 5
(3,116 Views)

Hi,

thanks so far for your answer. So I checked the VI at LV ver. 7.1 and 8.2. At both it's the same behavior. I attached a VI with a loop at the beginning for data creation. At this test VI another thing is strange. With the two inputs 'Row' and 'Column' I want to handle the graph storage. So I expect if both are 0 storage is beginning at the upper left element. Not in this example! The other behavior is like described first. Also if I build a application.

So test it and maybe you can give me some hints.

Thanks!

0 Kudos
Message 4 of 5
(3,090 Views)
Hi HaseDD!

In your VI you select out the Refum to the last element in The Array Which is displayed. The one you select is only the settings of the array index. If you show only one Graph your VI works and you get the right refum and the colour is displayed. but if your select another index to display and go back the color is lost, because it is not displayed to the Array it is only saved in the display element ans is restored with de defaults.
If you display more of these element the redraw with the default elements is always done. For a workaround you can only save your data in a array 2D-Array. You shold add two selectors which element to display, write this to the graph and change the colour.

Regards Tobias
0 Kudos
Message 5 of 5
(3,083 Views)