LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference Between Property node and Invoke node

Hey all,
I just wanted to know the difference between Property node and Invoke node. Also could any one please let me know what does Methods exactly means. I mean there is a property node naming dbl-click (i.e. double click) in ListBox, but in Multi Column ListBox, dbl-click is not a property but a method.
 
so I just wanna know the difference between both.
 
Thank you
--
Regards,
Sarang Dhananjay Jaiswal
Satyam Development Center, Banglore, INDIA
0 Kudos
Message 1 of 3
(16,586 Views)
The online help says it best:
 
Property Node: Gets (reads) and/or sets (writes) properties of a reference.

Invoke Node: Invokes a method or action on a reference.

Property nodes let's you set functional or cosmetic properties of items, Invoke nodes have to do with actions. All this said, sometimes the use is a bit inconsistent as in the double-click items you mentioned. I'm not sure what the reason is. 😉

Message 2 of 3
(16,574 Views)
Properties and methods are general programming terms (not just LabVIEW's).  Here's what Microsoft has to say about these:
 
"In general, a property is data about an object, while a method is an action the object can be asked to perform. Some things are obviously properties, like Color and Name, and some are obviously methods, like Move and Show.

As with any facet of human endeavor, however, there's a gray area in which an argument can be made either way."

Qouted from: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconisitpropertyormet...

-Khalid

Message 3 of 3
(16,567 Views)