Jump to content

The excution order of accessing to multiple attribute by Property node


Recommended Posts

Posted

Hello everyone,

Here I am again.

It a question regarding the property node.

In the book "LabVIEW Graphical Programming, Fourth Edition " by Gary W. Johnson and Richard Jennigs, it's written that: Each item in the list can be either a read or a write, and execution order is sequential from top to bottom.

But I implement an example with multiple access to property node, the data flow of course runs parallel to and reachs the property node simultaneously. So for me it seems that the execution order is not sequential from top to down but parallel. (And this is consistent to the underlying principle of Labview, a data flow language.)

With great respect to the authors, I think I may misunderstand the meaning of the book. Or is it possible that the property node does excute all the accessing parallel?

Best regards

Posted

Hello everyone,

Here I am again.

It a question regarding the property node.

In the book "LabVIEW Graphical Programming, Fourth Edition " by Gary W. Johnson and Richard Jennigs, it's written that: Each item in the list can be either a read or a write, and execution order is sequential from top to bottom.

But I implement an example with multiple access to property node, the data flow of course runs parallel to and reachs the property node simultaneously. So for me it seems that the execution order is not sequential from top to down but parallel. (And this is consistent to the underlying principle of Labview, a data flow language.)

With great respect to the authors, I think I may misunderstand the meaning of the book. Or is it possible that the property node does excute all the accessing parallel?

Best regards

When you have a property node re-sized for multiple inputs , yes the required data may arrive at different times but one they are all there, the execution is from top to bottom, unless there is an error...

Ben

Posted

Multiple property nodes will execute in parallel. What the authors are talking about is when a single property node is used to set/get multiple properties (the property node can be expanded just like the build array or bundle/unbundle cluster). Hopefully this picture will help clear things up.

post-11268-043959200 1277745943_thumb.pn

  • Like 1
Posted

And to clarify it even more - the value of the control will be 6 when the code finishes executing, because the second property executes last, even though it got the value first:

post-1431-091619900 1277748633_thumb.png

Posted

And to clarify it even more - the value of the control will be 6 when the code finishes executing, because the second property executes last, even though it got the value first:

post-1431-091619900 1277748633_thumb.png

Thanks for your great paradiagm. thumbup1.gif

  • 1 month later...
Posted

You can't believe this. I meet exactly a question on this topic in my CLAD test. Thanks again for you guys' help.:thumbup1:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.