Reading and Writing Shared Variables with Controls and Indicators

Read and write shared variables and other NI-PSP data items in human-machine interface (HMI) applications by binding those shared variables to controls and indicators. When you bind a shared variable to a front panel control or indicator, that control or indicator directly writes values to, or reads values from, the shared variable.

Note��You can bind front panel objects to network-published shared variables only.

For example, if you need to monitor the temperature of the valves on a boiler, you can bind shared variables to controls and indicators to display and, to a limited extent, process the latest temperature values in the following ways:

Note��You can bind front panel objects to DataSocket server items using the opc, ftp, and httpprotocols on Windows, and on all LabVIEW-supported platforms using the dstp and fileprotocols. However, using front panel data binding to control a front panel object remotely through the Shared Variable Engine (SVE) provides faster and more reliable data transmission, as well as connections to shared variables and NI-PSP data items.

Data Communication Methods Home