08-17-2009 02:31 PM
Hi,
I'm experiencing a problem using a multi-plot xy graph. I have to display 2 plots together, and make them appear and disappear many times during the program running.
But when I close LV and restart it, the second plot (plot1) doesn't appear, and also I lose all the properties I've set for it (name, color,...). If I don't shut down LV everything works well.
What can I do?
08-18-2009 12:38 AM
Try saving your plot as default after the first time your run it.
What version of LV are your running? There is a bug with regard to XY plots in 8.6.1 reported in this thread. I am wondering if you are seeing the same problem.
08-18-2009 03:35 AM
Hi,
I'm using LV 8.6.
The problem I have is similar to the one shown in that thread. Do you think adding a third dummy plot can solve it?
08-18-2009 11:43 AM
08-18-2009 11:49 AM
Hi Stefano, You can of course also set all properties needed during run time, using property nodes, to be sure that at all time you have the correct plots settings. It's a little more coding but at least you're sure of what you get 🙂
08-18-2009 12:27 PM
I've had that problem before. Then I solved it. I don't know how.
Sorry for the useless post
08-18-2009 01:41 PM
Ahah, very nice reply 🙂
Anyway, I'm using a dummy plot now and everything seems to work properly.
When you write about use property nodes, I'm using the "visible" one.
Your suggestion is to try also to set all the properties from there? Maybe it's a good idea, I'll try.
08-19-2009 12:56 PM
Stefano Moret wrote:When you write about use property nodes, I'm using the "visible" one.
Your suggestion is to try also to set all the properties from there? Maybe it's a good idea, I'll try.
Here are some code snippets I used once to initialize the graph and later on change legend entries depending on user selection.
You can also change the way plots are represented during run time. You always have to start with ActPlot do selct one of the plots.
Good luck