LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"data binding" method

in NI help mentions the followings:

"Data Binding: Bind To Network Path Method

Binds a control to an NI Publish-Subscribe-Protocol network path. You can add new connections only at edit time. "

i wonder how i can use the method, how to use it at edit time, is it means it only can use in a Xcontrol?

can any one give me an example?

thanks in advance

 

0 Kudos
Message 1 of 2
(2,851 Views)

Hi Brian,


This data binding method allows you to share variables over the network. This method is not exclusive to Xcontrols.

1. Drop a control on the front panel.
2. Right-click on the control
3. Either:
Select Create->Invoke Node->Data Binding->Bind to network path.
OR
Select Properties and navigate to the Data Binding tab

I don't have a specific example but a frequent application of this method is to remotely control front panel data.  Search your LabVIEW help for Reading and Writing Front Panel Data Using Data Binding and Binding Shared Variables to an Existing Source to get more information.

Ecleamus Ricks, Jr.
National Instruments
Applications Engineering

0 Kudos
Message 2 of 2
(2,835 Views)