Anish Posted November 3, 2009 Report Posted November 3, 2009 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. Quote
Ton Plomp Posted November 3, 2009 Report Posted November 3, 2009 The container state has a refnum to the actual control from which you can get the owning VI: 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 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.