Search the Community
Showing results for tags 'goop400'.
Found 1 result
OpenGDS GOOP400 Read by reference
StefanLemmens posted a topic in Object-Oriented ProgrammingWhen I create new property node methods for a GOOP400 class using the OpenGDS they look like this : The Write method gets the reference to the data and then modifies it in place.The read method gets a complete copy of the data and unbundles the wanted element. When the object contains a lot of other (large) elements I would like to avoid copying the entire data to unbundle just 1 element. This means also getting a DVR to the object and unbundle the element inside an in place element structure, as shown here : In LabVIEW 2017 and above I could even use "Allow parallel read-only access." to make sure it's read-only. Currently I modify such read methods manually each time I create a new one. I know I could update the template but I was wondering if there is any good reason not to do this. Or what is the reason why the original OpenGDS is reading by copying the entire cluster?