LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why binding path not change ?

Dear all, I program according to the instruction of link : http://digital.ni.com/public.nsf/allkb/2E8BAD0EA218A7558625712E0003F044?OpenDocument when run the VI, the binding path still be \\My Computer\CBM1010A\000_CYCLE_TIME, why not \\localhost\CBM1010C\000_CYCLE_TIME ???? I'm not sure the block diagram is correct or not ,please give me some help .
0 Kudos
Message 1 of 9
(3,349 Views)

sorry ,forget to attach the picture

Download All
0 Kudos
Message 2 of 9
(3,343 Views)

Race condition between the two property nodes?

 

You have no control over which one executes first.  If you wire up the error wires, then you can control the execution order.  You are probably reading the old value in the lower portion, before the upper portion as executed.

 


Beyond that, I'm not sure you are using the property nodes correctly.  I haven't used those properties before.  But the way I interpret them, you are reading the binding of the front panel control on the lower portion.  But setting the binding of the shared variable on the upper portion.  A shared variable is not the same thing as a front panel control, even though you gave them the same name.

0 Kudos
Message 3 of 9
(3,328 Views)
Hello Ravens Fan, I attach my project here. from the shared varible library, you can see that the name of the shared variables in CBM1010A.LVLIB ( machine A ) and CBM1010B.LVLIB ( machine B ) are the same, In fact we have 100 machines,I just built 2 machines' variable in this project sample, I'd like to let all these shared variable value display on the front panel , when click BUTTON A, display machine A, click BUTTON B, display machine B,......., so when click different button, the URL shall change ,for example , \\My Computer\CBM1010A\000_CYCLE_TIME change to \\My Computer\CBM1010B\000_CYCLE_TIME, I can not find a good solution to solve this issue of dynamically change the data binding path Could you please give me an example base on my project ? Thank you very much.
0 Kudos
Message 4 of 9
(3,318 Views)
why can not attach attachment ? try again.
0 Kudos
Message 5 of 9
(3,316 Views)

can not attach the zip file?

0 Kudos
Message 6 of 9
(3,296 Views)

You have a file attached, but it is corrupt.  That .zip file will not open.

0 Kudos
Message 7 of 9
(3,290 Views)

Hi~

 

Actually theattached project achieved changing URLs for shared variable, you can check this in "Distributed System Manager" from Windows start->all programs->National Instrument->Distributed System Manager

 

Xiaojian Wang

0 Kudos
Message 8 of 9
(3,267 Views)

hello all,

Yes,I have succeed to change the URL according to the introduction of that link

thanks again. 

0 Kudos
Message 9 of 9
(3,234 Views)