07-15-2011 04:37 AM
the data binding "read/write" access type does not work with remote panel of reentrant vi (didnt try with none reentrant).
From the exe, I can change the shared variable by changing the control it is bound to, but from the remote panel, only the read access type works. Changing the value of the control on the remote panel does not modify the shared variable but changing it on the exe updates the value of the shared variable and of the control on the remote panel.
Work around: you need to place the shared variable on the block diagram with your bound control local variable everytime you need to write on it and update them together.
Couldnt find this issue anywhere so I am posting it here. Sorry if it has already been brought to your attention before or if it is a normal behavior.
Regards.
07-15-2011 08:03 AM
ok, just to be more specific.
If it is a bind control that is modified from the front panel, it works fine even from remote panel. However, if you modify it through a local variable, it wont have any effect on the bound shared variable.
For this reason, all the changes made to bind indicators wont take effect on the corresponding shared variable either.
A 2nd work around is to use the property node -> value and that will affect the shared variable correctly. However, I read somewhere that we should reduce the number of property nodes to a minimum when planning to use the remote panel so updating the shared variable directly still seems best.
Regards
07-18-2011 04:14 PM
You're absolutely correct about property nodes. I'm glad you found the workaround! I believe this is a known behavior but I'll look into it further.
Thanks!