From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

GDS(Goop Development Suite)

cancel
Showing results for 
Search instead for 
Did you mean: 

Property Method / Property Node

Hi all,

 

I have started to use GOOP. I would like to fully understund difference between Property Method (Get/Set) and Property Node (Read/Write). Can someone please explain this to me or give me a link to the current EndevoGOOP400 manual?

 

Thanks a lot.

 

Pavel

0 Kudos
Message 1 of 2
(2,697 Views)

Hi, when you are using OOP (object oriented programming), you describe objects instead of functions or task, when you talk about an common object, let's said a car, the car is a Class an it have properties like:

 

Color

Number of seats

Model

Brand

number of km

etc.

 

the properties can be for read an write, in my experience is the same get=read, set= write, you can protect the access of a property only to be written by some method instead allowing the end user to write this property.

 

 

Best regards.

 

0 Kudos
Message 2 of 2
(2,675 Views)