Jump to content

X Control Caller VI Ref


Anish

Recommended Posts

I would like to know Is there a way to get the reference of the VI in which the Xcontrol is placed. During the State change from Edit to Run I would like to change few settings of the VI in which the X control is placed. Please help me. All I need is some thing like the "Caller VI Ref" for the X control.

P.S:

I tried the caller chain Vi it gives only the X control name with proxy appended but not the VI name in which it is called.

Link to comment

The container state has a refnum to the actual control from which you can get the owning VI:

post-2399-125725099665_thumb.png

The exec State Change Event (which you are looking at) returns the VIRef in the Event data as well.

Ton

If you crosspost, please mention.

Or preferably, start the discussion in one place, and if you don't get rewarding answers in a few days (>2) start at the other forum. This will keep the discussion clean.

Ton

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