01-13-2010 10:45 AM
My main UI screen has a picture control that updates as the user interacts with it. For example, when the user clicks a certain place on a picture control, the machine that I'm controlling goes to the location that corresponds to the click. I use this screen to setup experiments.
When the user has completed the setup phase of the experiment, I want to be able to use the same picture control to update the status of the experiment (which can run indefinitely). So I start a sub VI that runs the experiment.
The problem I'm having is that I don't know how to update the picture control on the main UI screen from within a sub VI. I can't think of a way to use a reference, and network shared variables with data binding don't seem to work for my picture control (unless I'm missing something).
If anyone has any suggestions, I'd love to hear them. Perhaps there's another way I could approach this that I'm just not thinking about...
Thanks
Solved! Go to Solution.
01-13-2010 10:57 AM
Use a control ref from the Picture and then use property node >>> Value to update the image. This images shows one example where I did this.
Ben
01-13-2010 11:08 AM
Brilliant, Ben. I didn't realize I could update a picture control using the value property.
Thanks much!