Jump to content

XControl inside a Type Def doesn't work


jaegen

Recommended Posts

It appears that an XControl inside a cluster type def never fires the "Data Change" event.

The attached VI uses the demo thermometer XControl inside the attached type def. When I run the VI as it is, nothing happens. If I right-click on the cluster and disconnect it from the type def, the temperature rises as expected.

Is this a bug?

Jaegen

Link to comment

QUOTE(tcplomp @ Sep 15 2007, 08:24 AM)

Yes, a work around could be setting the 'Data' ability to include the Typedef.

I even think this is a better way.

Ton

Except that I actually want to use multiple instances of an XControl inside a cluster typedef (along with other stuff) - the VI I attached was just a demo.

Jaegen

Link to comment

CITATION(jaegen @ Sep 15 2007, 02:00 AM)

It appears that an XControl inside a cluster type def never fires the "Data Change" event.

Is this a bug?

Hi,

Perhaps the bug is that LabVIEW allow you to place XControl in a cluster.

Like it's says in the WIKI, XControls (like subpanels) cannot be placed in an array... Subpanels cannot be placed in cluster as well...

But, I know how it's frustrating to cannot do it...

ptit bras

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
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.