Bind Shared Variables to OPC Server Data Items

You can bind shared variables to data items on OPC servers if you have created an OPC Client I/O server for the OPC server already.

Use the data items of OPC Client I/O servers to set the active state of OPC Client I/O servers and monitor the servers to which the client instances connect. OPC Client I/O servers have the following data items:

  • Active—Read/write. Set the shared variable connected to this data item to read or write by right-clicking the Shared Variable node on the block diagram and selecting Change to Write or Change to Read from the shortcut menu. If this data item is TRUE, the connected OPC server sends updated data to LabVIEW. If this data item is FALSE, the OPC server does not send updated data to LabVIEW.
  • Connected—Read-only. If this data item is TRUE, LabVIEW has a current connection to the OPC server.
  • OPC Interface Version—Read-only. Returns the OPC Interface version of the connected OPC server.
  • Revised Update Rate—Read-only. Returns the update rate of the connected OPC server.
  • Server ProgID—Read-only. Returns a descriptive, version-dependent program ID of the connected OPC server. LabVIEW and other applications identify the OPC server by using the server program ID.
  • Note LabVIEW does not display data items for OPC servers that do not support the Server Browse Address Space Interface.