Jump to content

In Place Element Structure (Mark As Modifier)


Recommended Posts

From the help (LV851):

QUOTE

You can right-click a node and select Mark As Modifier to indicate the LabVIEW modifies the data you wire to the node, even if the block diagram does not indicate a modification of data occurs. The Mark As Modifier option is useful when you work with dynamic dispatch terminals. While the parent implementation of a dynamic dispatch subVI might not modify the data wired to the node, a child implementation might modify the data. Using the Mark As Modifier option then optimizes performance by minimizing the number of copies of the data LabVIEW creates.

Can someone elaborate a bit more on this? I mean what if I'm not using dynamic dispatch. How does the Mark As Modifier help or hinder me with standard code? I don't really get the point of this option.

Link to comment

I'm fairly confident when I say this: If you're not using dynamic dispatching, turning on this option can only hurt your performance.

There may be some corner case use for it, but I'm not aware of one. All it does is force LV to treat something that wouldn't be a writer to be a writer.

Link to comment

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.