03-25-2006 05:19 AM
03-27-2006 04:41 PM
03-27-2006 11:48 PM - edited 03-27-2006 11:48 PM
Hi Sarah,
Looks like you are talking of exactly what I want!
I have attached a sample VI to try achieve what I want. But it still has some issues which are:
1) I am unable to configure a Plot Attribute Change Event. I have used a mouse leave event instead. How does one configure a Plot Attribute Change Event?
2) Is there no single property which will transfer all the settings of plot legend from one graph to plot legend of another graph? In my sample VI, I have to read each property of the master graph and feed it into the slave graph.
Kindly note I am using LV FDS 7.1 on Win2000
Thanks,
Gurdas
Message Edited by Gurdas on 03-27-2006 11:51 PM
03-28-2006 10:20 AM
You could also put your prop nodes in the timeout event (~50 mSec). That way you don't have to mouse out of the master graph to see the changes. You don't even really need the event structure for this technique. One weirdness, when changing the color, the slave plot updates as you hover over the colors and the master waits till you click it
. I'm also in LV7.1, I suspect the attribute Sarah mentioned is a LV8 option. Sarah?
Another output I wish was available in the Prop Nodes would be: # of plots. That way you could loop through the active plots and change all plot parameters with multiple plots on the graph.
K
03-29-2006 04:11 AM
Hi,
We finally used a boolean to sync the two graphs as per first graph's plot legend. We found this to be the most definitive (Sarah's is still better) and least process intensive. Any other technique was doing sync irrespective of its need. Our plots are multiplot (upto 15 plots on each graph). We use the array size function on the graph data to find number of plots. And then a For loop (equal to array size) within which the plot legend params for slave graph are updated (upon boolean press). For loop index is wired to Active Plot property.
Works flawlessly. Only hitch is a boolean needs to be clicked.
- Gurdas
03-29-2006 10:21 AM
03-30-2006 02:06 AM
Hi,
Attached is code screenshot that we've used. Have tested and it works well.
I am not sure I've understood your comment. If my attached pic does not answer what you mentioned, kindly elaborate.
- Gurdas
03-31-2006 09:15 AM
Thanks Gurdas,
My mistake. I must not have wired the "plot.interp" because when I selected common plots> then the choice where there are only disconnected boxes, the second graph switched to box points but the lines remained. With I wired everything as in your example the secong graph updates fine.
Regards