LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to click OK -- Data Binding using Shared Variable Engine

 

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! Smiley Happy 

0 Kudos
Message 1 of 4
(2,024 Views)

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.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 2 of 4
(1,972 Views)

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

0 Kudos
Message 3 of 4
(1,938 Views)

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.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 4 of 4
(1,921 Views)