Jump to content

Obtaining associated Control references from ControlTerminal References


parsec

Recommended Posts

I have a sequence structure that I am using as a container for a number of unconnected controls and indicators (they are interacted with by reference only).

I am trying to programmatically obtain the references to these controls, but I can only seem to get the references to the block diagram ControlTerminals using the Traverse for Gobjects VI. Does anyone know how I can obtain those associated control references?

 

 

control references.png

Link to comment

A property of ControlTerminal is Control which gives you a reference to the front panel item.

In your case you would need to change the class specifier constant being fed into the to more specific class to ControlTerminal (GObject > Terminal > Control Terminal) and then get the front panel reference from another property node before getting the label's text.

  • Like 1
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.