02-25-2015 04:48 AM
Hi,
Is there any way out to change the properties of XY graph plots through VI Scripting?
From main VI, I create an XY graph in another VI through VI scripting. I now want to change the Plot legend names, and their styles etc. I notice that these properties can be set up in the new VI (See screen shot Graph Property Node in NEW VI.jpg). However, I couldn't see these properties by calling the property node of XY graph reference in main VI (see screen shot ).
Thanks for the due response.
Regards
HB
Solved! Go to Solution.
02-25-2015 07:28 AM - edited 02-25-2015 07:34 AM
Hello HB,
I see plot.names when I scroll down a bit further. No scripting required.
Hope this helps.
Uli
02-25-2015 07:34 AM
Hi UliB
Thanks for the reply.
I want to do it through VI scripting. As I mentioned in my post that plot.names is visible to me as well when creating a property in the same VI. However, I want to set the property of XY graph from another VI through VI Scripting.
I hope you got my point.
Regards
Hasan
02-25-2015 07:39 AM
Hello HB,
maybe you need to use a XYGraph refnum rather than a graphChart refnum.
Uli
02-25-2015 07:46 AM
Thanks UliB
It solved the problem!
Regards
HB