07-22-2008 09:28 AM - edited 07-22-2008 09:29 AM
07-22-2008 10:19 AM - edited 07-22-2008 10:19 AM
07-22-2008 12:34 PM
09-08-2009 02:59 PM
So, I've dug around and can't seem to find the "Get Image" property...could you point me in the right direction? I have 2 DDT's going into a Build XY Graph Express VI, then Cluster to XY Graph.
Thanks,
Ria
09-08-2009 03:03 PM
Riatin wrote:So, I've dug around and can't seem to find the "Get Image" property...could you point me in the right direction? I have 2 DDT's going into a Build XY Graph Express VI, then Cluster to XY Graph.
Thanks,
Ria
It is actually a method and not a property.
Bonus Q:
Has anyone come up with a nice clean rule that describes when NI makes something a method vs a property?
I surely have not recognized the pattern yet.
Ben
09-08-2009 03:11 PM
Ben,
Congrats on being Knighted 😃 I'm still lost...
Tyler
09-08-2009 03:12 PM
09-08-2009 03:21 PM
Mr. Timmis,
That's what I was looking for!
Cheers,
Tyler
09-08-2009 03:24 PM
hey ben
I think the difference is that the property node does not have a connector that is white with no ability to connect to it, and invoke nods do...
09-08-2009 03:27 PM
Ben wrote:
Has anyone come up with a nice clean rule that describes when NI makes something a method vs a property?
Not a rule, but an educated guess: The properties and methods are closely tied in to the C++ class hierarchy which is used to represent the VI server hierarchy. The properties allow having access to the data members of a class using a common interface so that NI doesn't have to rewrite code. Methods are used when you need to perform some extra action (e.g. get the data in a format which is not native to what the class already has) or when what you want to do requires extra data as input.