From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,365 Views)

I'm using LabVIEW 2010 SP1.

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

Anyone came across this?

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 3 of 4
(2,324 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
(2,316 Views)