03-27-2015 05:09 AM - edited 03-27-2015 05:21 AM
Hi (sorry for my english) i have the follow problem:
I have a vi that makes measure it upload a cluster with inside some digit indicators and a picture i had create a property node and a control reference for the cluster.
In my main vi i had create the same cluster and i have join it with my measurement vi using a control reference.
the problem is ... the measure vi change dynamically the properties node of factor zoom, origin left and origin top of his picture. I'd like to know how to do the same for my main linked cluster?
Thanks
Roberto
Solved! Go to Solution.
03-27-2015 05:25 AM
Is it possible to describe the preconditions, your goal and your own trials more clearly? Maybe use some images to show your points and add notes.
03-27-2015 06:34 AM
It sounds like you have:
If you have in your main VI a reference to the indicator in the measurement VI (it sounds like this is provided by your measurement VI), then you should be able to use a property node with that reference to retrieve the current properties of it, then set the properties of the indicator in your main VI to be the same.
If you could provide more details of how the measurement VI and main VI interact, including code or images, that would probably be helpful.
03-27-2015 08:16 AM
an example (the original very complex, many vi's) 🙂
03-27-2015 08:21 AM - edited 03-27-2015 08:21 AM
03-27-2015 08:36 AM
Then there isn't a way to syncroninize both cluster properties 😞
03-30-2015 03:48 AM
Ciao Roberto,
certo che si può fare!
Devi creare la reference dell'imagine dal Main VI e poi passare anche quella reference al SubVI e utilizzare il property node con ZoomFactor etc con la reference all'imagine del Main VI.
Come hai fatto tu, stai solamente aggiornando i valori del Cluster del Main mentre sull'imagine lavori solamente su quella del SubVI. Creando una reference dell'imagine invece andrai a modificare i parametri dell'imagine del Main VI.
Buona giornata,
Valerio
03-30-2015 06:45 AM
Ciao Valerio,
riusciresti, per favore, a fornirmi qualche esempio o qualche link in merito?
Grazie,
Roberto
03-30-2015 07:43 AM
Ciao Roberto,
ti giro il VI che ho fatto di prova.
Praticamente ho aggiunto la seconda reference e modificato il tutto anche su quella.
Fammi sapere se così funziona correttamente come desiderato.
Buona giornata,
Valerio