Jump to content

IPE Structures and anonymous cluster elements


Recommended Posts

Posted

Ran into this today:

post-11742-0-45810100-1302206555_thumb.p

Since the IPE unbundle nodes work by name, they aren't happy with anonymous types. Bummer. Not a big deal, but it would be nice to be able to operate on unnamed types...

Posted

well, the IPE is essentially an "unbundle by name" which doesn't work in this case either. I would say that it is expected.

Posted

Oh yes, of course it's expected. I just don't like how since I have an anonymous cluster I can't use the IPE to operate on it.

Doesn't affect my code at all, just annoyed. Makes for messy code since I need to unbundle a whole cluster to operate on a single value. And no, I don't have control over the incoming cluster, so making the type named won't work. I could typecast it to a named one, but meh it's not that big of a deal...

Posted

:lightbulb:Seems like a perfect item for the Idea Exchange.

Jason

I don't see how that would work. If it is not named you have no way of specifying the element you want to unbundle. But it will work for clusters that are partially anonymous.

post-17905-0-80378900-1302227782_thumb.p

Or you could do this

post-17905-0-88015600-1302228789_thumb.p

This is not specific to the inplace element structure. There is no way to unbundle a single element of a cluster unless it has a name anywhere in LabVIEW.

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.