LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically bind shared variable

Hi,

 

I'm trying to bind a control to a shared variable, if I clic on properties=>Data Binding, everything is set up correctly, but I get a red flag. Then if I add a white space after the variable path then clic OK. everything is fine and working properly.

 

My problem is I have to bind hundreds of shared variables so I don't want to modify every single control properties...

 

 

Anyone has any clue on what's happening?

Rodéric L
Certified LabVIEW Architect
Download All
0 Kudos
Message 1 of 4
(1,089 Views)

I'm using LabVIEW 2010 SP1.

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 2 of 4
(1,071 Views)

Anyone came across this?

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 3 of 4
(1,048 Views)

Looking at some similar code that I had developed to set FP bindings, I included single quotes in the url, for example:

 

\\My Computer\IO\'PU.Heater_Power'

 

Maybe the space is satisfying the need for a delimiter of some sort?

0 Kudos
Message 4 of 4
(1,040 Views)