LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I generate a list of non-default properties of a FP object

 

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.

0 Kudos
Message 1 of 4
(2,538 Views)

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

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 4
(2,508 Views)

Perhaps you could make use of this.

0 Kudos
Message 3 of 4
(2,471 Views)

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.

 

0 Kudos
Message 4 of 4
(2,453 Views)