10-30-2019 06:40 AM
Hello all,
I'm facing a problem when I try to using Data Binding.
Actually, this particular variable is already bound but I'd like to change it for another variable and bind it again.
It should be pretty simple: on the control or indicator, right click ->Properties->Data Binding and select the variable that I want.
However, when I do that, somehow I can't click OK (please, see the attached figure).
It's really odd because the variable was bound before.
I was wondering if someone has any clue why it's happening.
Maybe something on the settings...
Really hoping to hear some ideas about how to fix it.
Thanks!
10-31-2019 02:15 AM
Try put a leading double-slash ( \\ ) before My Computer in the path field, so it reads:
\\My Computer\Kep_Server_IO.lvlib\boTwinSafeVanneFormGIN
I suspect the path format isn't valid, so the OK button is disabled.
11-15-2019 08:07 AM
Hello,
sorry the delay.
No, it's not that, I have tried double backslash but it doesn't work. I also tried other formats but it's always the same.
I think it's something on the setting but I couldn't figure it out.
If you or any other person has an idea, please, let me know.
Thanks
11-17-2019 11:45 PM
Another thing you might try is setting the binding path programmatically. Duplicate the working control or bind the existing control to anything - it doesn't matter what the path is, just that the binding path has been set. You can not programmatically set the binding path if it hasn't already been set.
Right-click the control on the front panel and select Create -> Property Node -> Data Binding -> Path. You can write a string path to this property (in the form \\My Computer\Library\Variable), then run and save the VI. The control will retain the new bound path.