06-24-2015 10:33 AM
I'm trying to create and recall configration files for plots. Attributes like line width, which plots are visible, line color, etc. There doesn't seem to be a property for all attributes of the plots on a graph, even a property for all the attributes of a single plot. I basically want a property that's a cluster or array of all the items in the right-most menu in the attached image.
Is there an easier way to extract this information than creating a property node with an individual line for each attribute?
06-24-2015 12:18 PM - edited 06-24-2015 12:33 PM
I think that's your only option. This isn't too hard though.
I would suggest the following steps:
You may or may not know about the quick-drop shortcutsalready, but I posted this detailed set of instructions here in case others in the future are looking for a similar solution.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
06-24-2015 12:49 PM
James,
I forgot that it auto populates in order so that does make it a bit easier. Guess I'll just go ahead with that. The frustrating thing is that this function exists in the Annotation feature! Maybe a feature for future versions of LV.
06-24-2015 01:02 PM
Xander,
Maybe somebody else will chime in with more information, but I don't think NI spent any time on this feature because it's not a common requirement.
Don't forget you will have to separate out the property node parts that are plot specific and create an array of each plot's info after setting the "Active Plot" value.
Good luck!
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
06-24-2015 01:40 PM
When this question has been asked before, others have recommended the Property Saver from Konstantin Shifersteyn: http://www.kshif.com/lv/index.html
I have no experience with it, but it's free and the source is provided, so it might be worth a look to see if it will save you some time.
06-24-2015 01:41 PM
I'll check that out Nathan. And I apologize if this is a common question, I couldn't find it in search.
06-24-2015 01:50 PM
I agree that it would be great to have a "plot list" property, similar to the current "cursor list" and "annotation list".
(This might also fix this problem, for example. :D)
I recommend that you post this as an idea in the LabVIEW idea exchange.
06-24-2015 02:07 PM
Ah yes, I've run into that issue today as well! Good idea, I suppose I could. Feels a bit odd to be suggesting LV features when I know how to use so few of them though.
06-25-2015 12:45 AM