09-18-2009 02:06 PM
09-18-2009 02:09 PM
09-18-2009 03:32 PM
Yep...that is exactly it. Thanks.
I put the boolean in an event and wrapped it in a loop...just to keep it running...and it works great.
Thanks again.
09-18-2009 04:13 PM
Ben,
I notice that you use the array index to pull the reference number for your boolean control from the remote .vi. It happened to be the first and only one in it, so that works great. Is there some way to get the names of the controls and select from that list rather than by refenerce number?
09-19-2009 08:24 AM
Hummer1 wrote:Ben,
I notice that you use the array index to pull the reference number for your boolean control from the remote .vi. It happened to be the first and only one in it, so that works great. Is there some way to get the names of the controls and select from that list rather than by refenerce number?
See my Nugget on using Control References for what I have written on this topic previously. I use the label to find the controls in an undefined cluster but the ideas are similar.
Ben
09-21-2009 12:37 PM
Here is an exact example of what I was trying to do. Thanks for all the help to get this going. It allows you to start up a vi, find the list of all its controls, match the control references to the label text of each control and thus press the button you want on the other vi. I realize there are lots of holes...for example, if the slave vi shuts down and is restarted again, the list of control numbers and label texts may no longer match...(through an error and go figure out the list again...)
But it is simple ... and it seems to work...
Thanks again for all your help.
09-21-2009 12:43 PM
Thank you very much for following through with an example.
Ben
09-22-2009 02:49 PM
I can't seem to stop.
I have made sub vi's out of the functions necessary to start a vi remotely...and to change a value (with signaling).
Please comment and hope you find them useful.