LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit LVOOP object constant?

Just to throw another bad idea out there that you shouldn't use....

 

Any class can be converted to or from XML using the XML LabVIEW Schema palette nodes.  Simply construct your object one time, convert it to XML, and then make that XML a string constant that you then convert back into a class object!

 

... Seriously, don't do this.  The entire point of class private data is that you can only get to it through accessors, so that your class can do its own internal data validity checks instead of relying on good data to come to it from the outside.

0 Kudos
Message 11 of 13
(259 Views)

Paul, may you save it in 2015 LV version, please? Thank you.


*** LV2018 ***
0 Kudos
Message 12 of 13
(241 Views)

@petrnowak wrote:

Paul, may you save it in 2015 LV version, please? Thank you.


Here

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 13 of 13
(225 Views)