01-15-2011 11:21 PM - edited 01-15-2011 11:24 PM
How would I generate a list of properties and their values, which differ between two front panel objects that I'd like to compare? Even better would be a programmatically wired-up property node of the non-default properties.
There are a few reasons I would like to have this:
1) Reversing some accidental change made programmatically or by hand, that I can't undo and don't understand.
2) Duplicating aspects of somebody else's FP object appearance/behavior, without it becoming a manual property-by-property inspection of differences.
3) Having a programmatic initialization of some object (e.g. Intensity Graphs are my object of the week), without doing it by hand on the FP itself or with the FP right-click properties option.
Thanks.
01-16-2011 02:39 PM
I don't think such a feature exist. You could try merging the front panels, however I don't think the NI merge tool will tell you which properties differ if you do a merge or diff.
You could have a look at the Front Panel Tool by Ingenieur Berger.
Good luck,
Ton
01-17-2011 09:51 AM
Perhaps you could make use of this.
01-17-2011 04:24 PM
pcardinale,
Thanks. Could I ask you to wire up an example to show me how it is supposed to be used? I tried wiring in a reference to a control to try it out, but it didn't do anything.
I'm interested in finding out more about how this works. I guess those invoke nodes are associated with VI scripting, which I don't know anything about yet. I think my next step would be to put some indicators at various intermediate points inside your VI to figure out how it works.