Hi, Please could you help me upload some code, I am trying to show you what I mean, I need to programatically determine which is the control I want.
I am attempting to:
Wire a numeric into a sub VI, and for that sub VI to return the reference of the wired VI (including its label)
The Sub VI is looking at the call chain and indexing value 1 out and opening a reference.
I am then looking at all of the controls on the calling VI
For each control I am looking at the wire coming out of it and seeing if any one of them is going into an input labeled the same as the input on the sub VI.
Then I am trying to take that reference to the sub VI on the other end of the control's wire and cast it down to a VI type (this goes wrong)
Then I wish to take the "Clone Instance" name, and match it to the currently runnning clone instance in memory to see if we have a winner
As I mentioned, I am struggling with casing down to VI type, any idea why? (or how to attach a .zip file to this message)?
Many thanks, Alec